umask, ACL inheritance and setgid +s not working with copy from flash drive in nautilus
Rashkae
ubuntu at tigershaunt.com
Wed Sep 15 02:05:48 UTC 2010
Tony Arnold wrote:
> Everyone seems to have ignored my contribution to this thread. If I'm
> wrong just tell me, but please do not just ignore me.
>
> Andy, you might let us know what permissions you were expecting given
> the ACL you had set up on the directory.
>>
>> I think the permissions are correct. The defaults in the ACL say a file
>> should get rwxrwxr-x but this is then AND'd with the default mask of rwx
>> giving rwx------
>>
>> Or am I missing something?
>>
You're missing that the files he's copying have a permission of 600,
which is preserved when they are copied to the new folder. The ACL
therefore does not get AND'd with rwxrwxr-x as it would with default
mask, but rw--------, and therefore, doesn't work as wanted.
More information about the ubuntu-users
mailing list