hi!
did someone reinstall darcs recently? some time ago there was a workaround set up for pre 2.0 darcs. the binary was replaced with a script that sets umask before calling darcs. see the file darcs-script and darcs-bin below... they are the traces of the old setup.
alendvai@clnet:~/dwim/public_html/darcs/eseho$ ll /usr/bin/darcs* -rwxr-xr-x 1 root root 2487276 Feb 12 2005 /usr/bin/darcs -rwxr-xr-x 1 root root 2487276 Feb 12 2005 /usr/bin/darcs-bin -rwxr-xr-x 1 root root 45 Jul 6 2006 /usr/bin/darcs-script
/usr/bin/darcs was a symlink pointing to /usr/bin/darcs-script, but not anymore. any thoughts?
Hi Attila,
I know that Drew has been migrating to a new server and this may be what changed. If I understand you correctly, we need to restore /usr/ bin/darcs so that it is a symlink to /usr/bin/darcs-bin. Is that right?
On Jul 22, 2008, at 8:07 AM, Attila Lendvai wrote:
hi!
did someone reinstall darcs recently? some time ago there was a workaround set up for pre 2.0 darcs. the binary was replaced with a script that sets umask before calling darcs. see the file darcs-script and darcs-bin below... they are the traces of the old setup.
alendvai@clnet:~/dwim/public_html/darcs/eseho$ ll /usr/bin/darcs* -rwxr-xr-x 1 root root 2487276 Feb 12 2005 /usr/bin/darcs -rwxr-xr-x 1 root root 2487276 Feb 12 2005 /usr/bin/darcs-bin -rwxr-xr-x 1 root root 45 Jul 6 2006 /usr/bin/darcs-script
/usr/bin/darcs was a symlink pointing to /usr/bin/darcs-script, but not anymore. any thoughts?
-- attila _______________________________________________ admin mailing list admin@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/admin
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
Hi Attila,
hi Gary,
I know that Drew has been migrating to a new server and this may be what changed. If I understand you correctly, we need to restore /usr/bin/darcs so that it is a symlink to /usr/bin/darcs-bin. Is that right?
almost.
ln -s darcs-script darcs
this way, when pushing, the script is called by the client side darcs, which first sets the umask and only after that calls darcs-bin. i'm not sure if this is still needed, recent darcs versions may have a fix for that.
without this if you push a patch that creates a new file or directory, then other comitters won't be able to push anything that would alter the same file until issuing a chmod -R g+w by the one who originally pushed the patch that created the file.
also note that there may be other alternatives to set the effective umask a binary will run with, but i'm no linux guru.
thanks for looking into this!
Cool.
Finally done.
On Jul 27, 2008, at 6:55 PM, Attila Lendvai wrote:
Hi Attila,
hi Gary,
I know that Drew has been migrating to a new server and this may be what changed. If I understand you correctly, we need to restore /usr/ bin/darcs so that it is a symlink to /usr/bin/darcs-bin. Is that right?
almost.
ln -s darcs-script darcs
this way, when pushing, the script is called by the client side darcs, which first sets the umask and only after that calls darcs-bin. i'm not sure if this is still needed, recent darcs versions may have a fix for that.
without this if you push a patch that creates a new file or directory, then other comitters won't be able to push anything that would alter the same file until issuing a chmod -R g+w by the one who originally pushed the patch that created the file.
also note that there may be other alternatives to set the effective umask a binary will run with, but i'm no linux guru.
thanks for looking into this!
-- attila
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM