[darcs-users] --set-scripts-executable ignore world flag ?

Tommy Pettersson ptp at lysator.liu.se
Tue Sep 13 13:02:09 UTC 2005


On Tue, Sep 13, 2005 at 05:26:48AM -0700, gary ng wrote:
> Just found another thing, darcs don't consider changes
> to file attributes as change. I need to change the
> attribute, then change the content of the file and
> follows by a darcs record to record the changes.
> 
> But the darcs get still gives me 0754, instead of 0755
> which is what I expect.

Darcs doesn't care what execution privilege files have.
The --set-script-executable simply looks at the file and
set the execution bit if it thinks it is an executable script
(e.g., starting with #!/bin/sh).  It doesn't matter if the file
"used" to be executable.

Also, the --set-script-executable feature seems to have be
broken in some 1.0.4 prerelease, so it only works in 1.0.3.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list