Date: Fri, 28 Jun 2002 11:17:12 +0930 From: Wincent Colaiuta <wincentcolaiuta@mac.com> To: freebsd-isp@FreeBSD.ORG Subject: Apache + disk quotas loophole? Message-ID: <F7356C3F-8A38-11D6-B6C4-003065C60B4C@mac.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F7356C3F-8A38-11D6-B6C4-003065C60B4C>