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] |
On Aug 11 16:28, Luke Ordelmans wrote: > Running cygwin 64-bit on Windows 8 doesn't allow me to remove group permissions from a file. On 32-bit cygwin doing the same thing works fine. > Â > Luke@Sorcerer ~/test $ uname -a > CYGWIN_NT-6.2 Sorcerer 1.7.23(0.268/5/3) 2013-08-09 10:05 x86_64 Cygwin > Luke@Sorcerer ~/test $ touch test > Luke@Sorcerer ~/test $ chmod -c 600 test > mode of `test' changed from 0660 (rw-rw----) to 0600 (rw-------) > Luke@Sorcerer ~/test $ ls -la total 4.0K > drwxrwx---+ 1 Luke None 0 Aug 11 15:40 ./ > drwxrwxr-x+ 1 Luke None 0 Aug 11 15:40 ../ > -rw-rw----Â 1 Luke None 0 Aug 11 15:40 test > Luke@Sorcerer ~/test $ umask > 0077 Works fine for me. The only reason I can see is that the permissions and inheritance rules on the parent directory are so that the None group always has rw access, despite what you set for the file. What does `cacls .' and `cacls test' print? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
pgpWm7LIMxMP2.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |