Proposed change for Win9x file permissions...

Bill C. Riemers cygwin@docbill.net
Sun May 25 20:11:00 GMT 2003


> I like the idea as well but wouldn't that eventually cause problems if
> the umask disables the user bits?  I'm a bit concerned about the new
> arriving questions on the cygwin ML due to applications checking these
> bits in combination with clueless users.  It would be better, IMHO, if
> the umask couldn't mask the user bits at all, just the group and other
> bits.

I seriously doubt it would result in serious problem, since the patch only
changes the file permissions that are visible via a "stat()" command, not
the actual permissions that Windows will use.  Case and point:  /cygdrive/c
shows up with perms 000 under cygwin, but there are not any serious
consequences of that bug, other than user confusion.

                                                Bill





More information about the Cygwin-patches mailing list