Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2003 16:24:02 +0300
From:      "PsYxAkIaS (FreeBSD)" <freebsd@psyxakias.com>
To:        <freebsd-isp@freebsd.org>
Subject:   Re: Apache crashing if user's www directory is deleted
Message-ID:  <002b01c32dc1$3bb98d60$162ea8c0@computer>
References:  <001501c32d87$c7ecddd0$162ea8c0@computer> <20030608101903.04895b7c.antonio.torres@newspace.net.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok fixed:)

Thanks both Antonio Torress and Clement Laforet(for your private email).

[psyxakias@Bitch-2:~] mkdir test2
[psyxakias@Bitch-2:~] exit
logout
[root@Bitch-2:/homeb1/psyxakias] chflags sunlnk test2
[root@Bitch-2:/homeb1/psyxakias] su - psyxakias
[psyxakias@Bitch-2:~] rm -r test2
rm: test2: Operation not permitted


----- Original Message -----
From: "Antonio Torres" <antonio.torres@newspace.net.br>
To: <freebsd-isp@freebsd.org>
Sent: Sunday, June 08, 2003 4:19 PM
Subject: Re: Apache crashing if user's www directory is deleted


>
> workarround :
>
> man chflags
> ...
>         sunlnk  set the system undeletable flag (super-user only)
> ...
>
>
> []
>
>
> On Sun, 8 Jun 2003 09:32:47 +0300
> "PsYxAkIaS (FreeBSD)" <freebsd@psyxakias.com> wrote:
>
> > Hello
> >
> > I use apache/2.045 and virtual hosts like that:
> >
> > <VirtualHost 66.151.30.81>
> > ScriptAlias             /cgi-bin/ /usr/homeb1/psyxakias/www/cgi-bin/
> > ServerName              www.psyxakias.org
> > ErrorLog                /usr/homeb1/psyxakias/www-logs/error.log
> > ServerAdmin             psyxakias@psyxakias.org
> > CustomLog               /usr/homeb1/psyxakias/www-logs/custom.log common
> > DocumentRoot            /usr/homeb1/psyxakias/www
> > </VirtualHost>
> >
> > If a user removes his www or cgi-bin directory, apache crashes on next
rehash/restart because it doesnt find the directory.
> >
> > Any solutions? I was thinking to change their permissions with
chown/chmod but as they have rwx on their homedir they will still be able to
delete the dirs.
> > _______________________________________________
> > freebsd-isp@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
> >
> >
>
>
> --
> Antonio Torres
> antonio.torres@newspace.net.br
> _______________________________________________
> freebsd-isp@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002b01c32dc1$3bb98d60$162ea8c0>