Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Allow non root users to edit files owned by root?
Date: Thu, 22 Dec 2011 19:44:34
Message-Id: jd017h$j5m$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: Allow non root users to edit files owned by root? by Alan McKinnon
1 > If you need to allow just one single user to access just one single
2 > directory, you are better off with using Posix ACLS (NOT regular
3 > owner, group and perms - that almost never works out right for www data)
4
5 Depends. On a multi-user server I maintain, where every user has a
6 ~/public_html/ directory, I let apache run PHP scrips with suphp
7 (www-apache/mod_suphp) so that files are not written with "www-data" or
8 "apache" permissions, but fully belong to the users, like every other
9 file they own. This means there's no need for ACLs or any other kind of
10 permission setup.