From owner-freebsd-isp@FreeBSD.ORG Sun Jun 8 06:19:06 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 9356237B404 for ; Sun, 8 Jun 2003 06:19:06 -0700 (PDT) Received: from traven9.uol.com.br (traven9.uol.com.br [200.221.29.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 552F643FE1 for ; Sun, 8 Jun 2003 06:19:04 -0700 (PDT) (envelope-from antonio.torres@newspace.net.br) Received: from thinkpad.newspace.net.br ([200.221.55.15]) by traven9.uol.com.br (8.9.1/8.9.1) with SMTP id KAA05304 for ; Sun, 8 Jun 2003 10:19:01 -0300 (BRT) Date: Sun, 8 Jun 2003 10:19:03 -0300 From: Antonio Torres To: freebsd-isp@freebsd.org Message-Id: <20030608101903.04895b7c.antonio.torres@newspace.net.br> In-Reply-To: <001501c32d87$c7ecddd0$162ea8c0@computer> References: <001501c32d87$c7ecddd0$162ea8c0@computer> Organization: Newspace Telecom. X-Mailer: Sylpheed version 0.9.1 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:19:06 -0000 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