Re: ext4 inode tagging

Adrian Reyer <[email protected]>
Newsgroups gmane.linux.vserver
Message-ID <[email protected]>
On Mon, Jan 16, 2012 at 07:08:30PM +0100, Roberto Puzzanghera wrote:
> My case is simpler. I have to share the users' web space (vs1
> context) to the apache vserver (vs2 context). So the shared tree is
> owned by userID:apacheID and the apacheID=80 is common between vs1
> and vs2; so there's non need to grant 777 permissions.

I do this with ACLs. Something like this should work:
setfacl -dm g:apache:rx DIRECTORY
setfacl -m d:g:users:rx DIRECTORY
I hope I stripped it down correctly, as I ripped it from a line I used
earlier to set 3 users and a group. Obviously only the group is left
here.

Be aware, apache only delivers if the file in question is
world-readable (o+r).

Regards,
	Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: [email protected] - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.