Page 1 of 1

How to manage the ftp quota while user upload via http?

Posted: Sun May 28, 2006 5:53 pm
by mp5anthony
Dear all,
I am now planning to give a vitrual space to some people, say, 300MB web space for their website. But I found that some web program such as Gallery2 allow user to upload their images to the site via http interface, and the file uploaded is owned by "apache", and this will not consume the user's web space quota since the quota system only search for the files owned by himself, not apache. So how can I make sure the user won't use up the disk space more than they are allowed?

Thanks for help! :wink:

Best Regareds, Anthony
anthonyloi@gmail.com

Posted: Mon May 29, 2006 4:08 am
by Chris Corbyn
You really want to be running apache as CGI with suexec so that files belong to the user themselves. FTP should do that too.