This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygwin-1.5.19-2: mkdir returns inconsistent errno


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).

Attachment: cygcheck
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]