ls not in sync with chmod (weird problems with file permissions)

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Feb 10 09:32:00 GMT 2015


On Feb  9 22:00, diod lightbulb wrote:
> However, I'd like to ask somthing else, is there a way to make newly
> created files outside my home to respect my umask? I just tried touch
> still buggy; ll stillbuggy reports -rw-rwxr--+ while  stat -c " %a %u
> %g" stillbuggy     gives back " stillbuggy 674 1000 545. So ACL still
> seems in effect on both my D: and E: drives except my cygwin home
> directory. Any hint welcome.

The default ACL entries of the parent directories are the problem.
Have a look with getfacl on a parent dir.  Try the new setfacl -k
option on dirs you desire POSIX perms in.


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: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150210/948c5bdf/attachment.sig>


More information about the Cygwin mailing list