From owner-freebsd-isp Thu Jun 27 18:47:37 2002 Delivered-To: freebsd-isp@freebsd.org Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.88]) by hub.freebsd.org (Postfix) with ESMTP id 4ADAD37B400 for ; Thu, 27 Jun 2002 18:47:27 -0700 (PDT) Received: from smtp-relay02.mac.com (smtp-relay02-en1 [10.13.10.225]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g5S1lL56024879 for ; Thu, 27 Jun 2002 18:47:22 -0700 (PDT) Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtp-relay02.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g5S1lGrE004367 for ; Thu, 27 Jun 2002 18:47:16 -0700 (PDT) Received: from cannondale.elcentro.red ([202.45.118.108]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id GYE7MR00.NBV for ; Thu, 27 Jun 2002 18:47:15 -0700 Date: Fri, 28 Jun 2002 11:17:12 +0930 Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Apache + disk quotas loophole? From: Wincent Colaiuta To: freebsd-isp@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is there a loophole in using disk quotas with apache? Imagine I have a customer (user: johntest) limited to 100MB disk space using filesystem quotas. He won't be able to upload files via ftp if it would take him over the limit, nor can he create files from the shell. But if his website is dynamic and apache is writing files to the disk for him (pages, files etc), won't they be created as user "nobody" or "www" files (or whatever the server is running as) and hence will they be omitted from the quota restriction? I have one site which only has about four files uploaded into the public_html directory, and the rest of the pages (hundreds of them) were all created by apache using a webinterface. Do only the four uploaded files get counted in the quota? If it is true that this is a loophole, how would I plug it? Any ideas? And a related question... how would I include MySQL storage in the quota also? (Same problem there, all MySQL db files are owned by "mysql"). Cheers Wincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message