cygwin-1.5.19-2: mkdir returns inconsistent errno
Alex Riesen
raa.lkml@gmail.com
Thu Jan 26 14:33:00 GMT 2006
mkdir (also syscall) return "Permission denied" when its argument refers to
a mountpoint at the top of windows drive (probably also a windows mount,
I haven't tried).
For example:
$ mount d: /d
$ mkdir /
mkdir: cannot create directory `/': File exists
$ mkdir /d
mkdir: cannot create directory `/d': Permission denied
$ mkdir /d/tmp
mkdir: cannot create directory `/d/tmp': File exists
This is highly unexpected, does not match linux behaviour (it returns EEXIST),
and actually breaks git (git clone, creation of pathnames, to be precise).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck
Type: application/octet-stream
Size: 33626 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060126/53f1e330/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list