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

Re: Users deleting public_html and log causing Apache to fail startup



On Fri, Jul 05, 2002 at 01:33:55PM +1000, Donovan Baarda wrote:
> On Fri, Jul 05, 2002 at 11:38:53AM +1000, Jason Lim wrote:
[...]
> Given this, I would suggest something like this for an example user "abo";
> 
> minkirri:~$ dl
> total 2
> drwxrws--t    4 root     abo            81 Jul  5 13:13 ./
> drwxrwsrwx    6 root     root          458 Jul  5 13:17 ../
> drwxr-s---    2 root     abo            35 Jul  5 13:13 log/
> drwxrwsr-x    2 root     abo            35 Jul  5 13:13 public_html/

Slight refinement, change public_html to;

  drwxrwsr-t    2 root     abo            35 Jul  5 13:13 public_html/

This allows root to create other directories in public_html like
"public_html" that cannot be deleted by abo. The o+t,g+s combo is a nice
one, because it allows group read/write access to the directory's contents,
but the person who creates content in it is the only person who can
rename/delete it.

-- 
----------------------------------------------------------------------
ABO: finger abo@minkirri.apana.org.au for more info, including pgp key
----------------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: