: 64-bit cygwin - cannot remove group permissions from file on ntfs
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Aug 12 10:09:00 GMT 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130812/95904cfa/attachment.sig>
More information about the Cygwin
mailing list