On Tue, Jun 14 '05 at 15:09, Ari?n Huisken wrote:
> I have disk quotas running on a webserver where several clients have their
> webspace.
> 
> All is working fine, except when the client is using some CMS system
> have a tool to upload images through the webinterface. These files are
> owned by httpd instead of the user, so its not counted by the quota
> system.

While you can not make the user sticky, you can make the group sticky.
Than everyfile is owned by the user's group and you can use
group-quotas.

Or you could go for (fast)cgi with suexec. You could use a cgi version
of php and it would be run as the user. That would require the CMS to be
implemented in php, but too many are.
 
I've stopped using TSL when comodo screwed it up with the snow crew but
it's very easy to setup apache2, mod-fast-cgi and php-fastcgi. And
should be so on TSL, too. There is a nice howto for debian:
http://www.debianhowto.de/howto-archiv/de/apache2-phpfcgi-sarge/index.html
-- 
Goetz Bock       (c) 2005 as     blacknet.de - Munich - Germany   /"\
IT Consultant  Creative Commons  secure mobile Linux everNETting  \ /
                                                                   X
 ASCII Ribbon Campaign against HTML email & microsoft attachments / \
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to