[darcs-devel] [issue575] Permissions error on cygwin-on-vista.
nathan wilcox
bugs at darcs.net
Thu Jan 3 19:37:04 UTC 2008
New submission from nathan wilcox <nejucomo at gmail.com>:
On cygwin-on-vista, I untarred the darcsdir-cygwin package I
downloaded from zooko.com via darcs.net.
Then I went into my project, ran "darcs init", then I ran this:
$ for f in `find . -type f | grep -vEe '\.svn|_darcs|\.cvsignore'`; do
echo "=== $f ==="; darcs add "$f"; done
Aside from many lines beginning and ending with "===" there is only
one other line, in the middle of all the output:
realdarcs.exe: _darcs/patches/pending.new: renameFile: permission
denied (Permission denied)
When I view _darcs/patches in windows explorer, I see only
_darcs/patches/pending, and not "pending.new", so I couldn't see what
its permissions were.
Both regular files and directories created within _darcs have cygwin
mode 755, while my umask is 0022. Why do the files have execute
permission? If I run "touch foo", the newly created file does not
have execute permission, leading me to believe this is darcs-specific
behavior.
Finally, is there a better way to add a new project in a repository,
other than the bash for-loop approach above?
----------
messages: 2309
nosy: beschmi, droundy, kowey, nejucomo, tommy
status: unread
title: Permissions error on cygwin-on-vista.
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue575>
__________________________________
More information about the darcs-devel
mailing list