[darcs-devel] [issue458] --set-scripts-executable ignores umask
Trent Buck
bugs at darcs.net
Mon May 14 01:14:22 PDT 2007
New submission from Trent Buck <trentbuck at gmail.com>:
Using a umask of 077, darcs will still make scripts executable by all
users. The following transcript demonstrates the problem:
$ cd `mktemp -d`
$ mkdir 1
$ cd 1
$ darcs init
$ cat >x
#!/bin/sh
true
$ darcs rec -lam x x
Recording changes in "x":
Finished recording patch 'x'
$ cd ..
$ umask 077
$ darcs get 1 2
Copying patch 1 of 1... done!
Finished getting.
$ ls -la 2
total 4
drwx------ 3 twb twb 27 2007-05-14 18:10 .
drwx------ 4 twb twb 22 2007-05-14 18:10 ..
drwx------ 7 twb twb 99 2007-05-14 18:10 _darcs
-rwx--x--x 1 twb twb 15 2007-05-14 18:10 x
----------
messages: 1694
nosy: EricKow, beschmi, droundy, tommy, trentbuck
status: unread
title: --set-scripts-executable ignores umask
____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue458>
____________________________________
More information about the darcs-devel
mailing list