public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] Re: Allow non root users to edit files owned by root?
  @ 2011-12-22 19:42 99%           ` Nikos Chantziaras
  0 siblings, 0 replies; 1+ results
From: Nikos Chantziaras @ 2011-12-22 19:42 UTC (permalink / raw
  To: gentoo-user

> If you need to allow just one single user to access just one single
> directory, you are better off with using Posix ACLS (NOT regular
> owner, group and perms - that almost never works out right for www data)

Depends.  On a multi-user server I maintain, where every user has a 
~/public_html/ directory, I let apache run PHP scrips with suphp 
(www-apache/mod_suphp) so that files are not written with "www-data" or 
"apache" permissions, but fully belong to the users, like every other 
file they own.  This means there's no need for ACLs or any other kind of 
permission setup.




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-12-20 15:04     [gentoo-user] Allow non root users to edit files owned by root? Tanstaafl
2011-12-20 17:19     ` [gentoo-user] " Nikos Chantziaras
2011-12-22 15:44       ` Tanstaafl
2011-12-22 18:00         ` Nikos Chantziaras
2011-12-22 18:53           ` Tanstaafl
2011-12-22 19:21             ` Alan McKinnon
2011-12-22 19:42 99%           ` Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox