Permissions change concern

Andrey Repin anrdaemon@yandex.ru
Mon Apr 18 14:05:00 GMT 2016


Greetings, Eliot Moss!

> 1) If a directory says:

>    default:users::rwx
>    default:group::rwx
>    default:other:r-x

>    and my umask is 022

>    when I create a new file by "echo test > foo.bar", foo.bar's
>    perms are 644, not the 755 I would expect.

Why? I'm totally expecting 644 on a FILE.
+x never set by default for files.

> 2) If the directory has g+s set (visible from -s- in the flags shown
>     by getfacl), the directory's group is Cygwin, and my primary group is moss,
>     then the file gets created with group moss, not group Cygwin (which is
>     what g+s is supposed to mean, right?)

If "Cygwin" group is part of your token, I would expect Cygwin too, in this
case.


-- 
With best regards,
Andrey Repin
Monday, April 18, 2016 16:51:43

Sorry for my terrible english...


--
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



More information about the Cygwin mailing list