[darcs-users] Mac OS X issue with permissions (?)

Max Brown max.e.brown at gmail.com
Tue Jun 5 12:25:15 UTC 2018


Hello Darcs-Users,


I just upgraded from version 2.3 to 2.10.1, using the Mac OS X binaries on
the website. Those contained a manfile and the main executable, which I
plopped into /usr/local/bin.


While the main things work fine (like recording and pushing patches), there
is a permission problem with using darcs diff.


Can someone tell me what I am doing wrong?


Thanks.


Max


========= 8< ==========


$ darcs diff somefile.txt

darcs: /usr/bin/diff: fileAccess: permission denied (Operation not
permitted)


$ sudo darcs diff somefile.txt

darcs: /usr/bin/diff: fileAccess: permission denied (Operation not
permitted)


$ ls -l somefile.txt

-rw-r--r--@ 1 max  501  15106 May 29 17:42 somefile.txt

$ ls -l /usr/bin/diff

-rwxr-xr-x  1 root  wheel  109600 Apr 29  2017 /usr/bin/diff

$ diff somefile.txt somefile.txt~

0a1

> 123


[Not sure whether this matters, but I renamed the binary "darcs" to
"darcs-2.10.1-i386-darwin" and created symlinks, as below]


$ darcs --version

2.10.1 (+ 1 patch)

$ which darcs

/usr/local/bin/darcs

$ ls -l /usr/local/bin/darcs

lrwxr-xr-x  1 root  wheel  26 Jun  5 10:49 /usr/local/bin/darcs ->
./darcs-2.10.1-i386-darwin


$ ls -l /usr/local/bin/darcs-2.10.1-i386-darwin

-rwxr-xr-x@ 1 root  wheel  42520416 Jun  5 09:49
/usr/local/bin/darcs-2.10.1-i386-darwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20180605/6dc515a0/attachment.html>


More information about the darcs-users mailing list