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]

umask not honored?


Created a new directory in my home directory with the following: mkdir test
created an empty file in this directory with: touch test/empty

When I list the contents of this path I get the following:
$ ls -Al test
total 0
--w-rw----+ 1 kdstah GROUP_CHANGED 0 Jan 21 16:35 empty

My umask is set to 0022
My home directory has the following permissions: 750 (use ssh)

/etc/fstab is configured with:
none /cygdrive cygdrive binary,posix=0,user 0 0

If I create the same file within any existing directory, the umask is honored.

Any thoughts?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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