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

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

 



On Thu 24-02-11 11:49:13, Ted Ts'o wrote:
> On Thu, Feb 24, 2011 at 02:57:40PM +0100, Jan Kara wrote:
> >   I've actually tried that before posting my email and it's not like that.
> > I did:
> > jack@quack:~/source> echo 'aaa' >/tmp/f
> > jack@quack:~/source> chmod 600 /tmp/f
> > jack@quack:~/source> setfacl -m u:nobody:rw /tmp/f
> > jack@quack:~/source> sudo su nobody -c "cat /tmp/f"
> > aaa
> > jack@quack:~/source> sudo su news -c "cat /tmp/f"
> > cat: /tmp/f: Permission denied
> 
> Hmm... yes, but it's a bit more complicated.  Look at this, and note
> how remounting the file system without acl's gave the group "users" rw
> access to the file /mnt/f.
  Ah OK, I see. So it's both ways ;)

								Honza
-- 
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
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