From owner-freebsd-questions Sat May 27 10:30:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from janus.hosting4u.net (janus.hosting4u.net [209.15.2.37]) by hub.freebsd.org (Postfix) with SMTP id A23FA37B7C7 for ; Sat, 27 May 2000 10:30:39 -0700 (PDT) (envelope-from andy@friends-tv.net) Received: (qmail 4743 invoked from network); 27 May 2000 17:30:39 -0000 Received: from jupiter.hosting4u.net (HELO friends-tv.net) (209.15.2.9) by janus.hosting4u.net with SMTP; 27 May 2000 17:30:39 -0000 Received: from blade ([212.41.34.148]) by friends-tv.net ; Sat, 27 May 2000 12:30:36 -0500 Message-ID: <00df01bfc801$8e3e8e10$0100a8c0@blade> From: "Andy Coates" To: Subject: Quota and Apache Logs Puzzle Date: Sat, 27 May 2000 18:30:46 +0100 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 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've decided to setup apache to store logfiles in the user's own directory, say ~user/logs. I also want to make those logfiles part of the users quota. Here comes the bit thats stumped me... if I create a virtual host for the user, and I don't create the log directory, apache won't start because the log directory doesn't exist. If I do create the log directory (as root), the normal ownerships for the directory are user root group , which the user can delete, hence if done apache wouldn't start. So if I make ownership root/wheel, the user can't delete it and apache will be fine as the directory will always be there. But.... then the log files will be the ownership of root and won't count in the quota. Its fried my brain trying to work out the right method for this, so I'm writing this to see if anyone out there can help me out with the situation - either correcting where I went wrong or maybe suggesting an alternative. TIA, Andy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message