[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110224183126.GI23042@quack.suse.cz>
Date: Thu, 24 Feb 2011 19:31:26 +0100
From: Jan Kara <jack@...e.cz>
To: Ted Ts'o <tytso@....edu>
Cc: Jan Kara <jack@...e.cz>, Eric Sandeen <sandeen@...hat.com>,
ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH] ext4: enable acls and user_xattr by default
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@...ck:~/source> echo 'aaa' >/tmp/f
> > jack@...ck:~/source> chmod 600 /tmp/f
> > jack@...ck:~/source> setfacl -m u:nobody:rw /tmp/f
> > jack@...ck:~/source> sudo su nobody -c "cat /tmp/f"
> > aaa
> > jack@...ck:~/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@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists