Re: [PATCH] ext4: enable acls and user_xattr by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 24, 2011, at 6:49 AM, Jan Kara wrote:

>  I agree it may cause surprises although it's not true that ACL's remove
> rights. Rather on contrary ACL's can only give additional rights (i.e. you
> have 600 file + user foo can also read it) thus noacl->acl transition might
> be insecure if you have some old unwanted ACL's pending.

My understanding of how POSIX acls work is that the if you want to give
read access to user "foo" (where "foo" is not the user) is you first have to 
open up the file permissions to do the equivalent of "o+r".

See: http://acl.bestbits.at/man/man5/acl.txt

And then note how ACL_MASK corresponds to the permissions bits...

-- Ted

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux