From owner-freebsd-isp@FreeBSD.ORG Sun Jun 8 06:24:07 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04B7437B401 for ; Sun, 8 Jun 2003 06:24:07 -0700 (PDT) Received: from web1.subnetmask.net (web1.subnetmask.net [207.44.145.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D04E43FA3 for ; Sun, 8 Jun 2003 06:24:06 -0700 (PDT) (envelope-from freebsd@psyxakias.com) Received: (qmail 10367 invoked from network); 8 Jun 2003 13:24:05 -0000 Received: from athe535-c076.otenet.gr (HELO computer) (62.103.191.76) by bofh.reverse.net with SMTP; 8 Jun 2003 13:24:05 -0000 Message-ID: <002b01c32dc1$3bb98d60$162ea8c0@computer> From: "PsYxAkIaS (FreeBSD)" To: References: <001501c32d87$c7ecddd0$162ea8c0@computer> <20030608101903.04895b7c.antonio.torres@newspace.net.br> Date: Sun, 8 Jun 2003 16:24:02 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: Apache crashing if user's www directory is deleted X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 13:24:07 -0000 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" To: 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)" wrote: > > > Hello > > > > I use apache/2.045 and virtual hosts like that: > > > > > > 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 > > > > > > 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"