> (Jun 14 2005 15:09) Ari�n Huisken wrote:
>> Hi list,
>>
>> 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.
>>
>> It would be nice to have a quota set on the users home dir, ignoring the
>> ownership of the file or something similar.
>
> The first idea is to create big files that holds filesystems and mount
> them with quota or have the fixed size of them = to users quota.
>
> This means 1 file per user and 1 mounted filesystem per user, which is
> horribly ugly.

Yeah, real ugly...

>
> The second thing that might be interesting is the ChildPerUserID
> directive featured by the MPM perchild module:
> http://httpd.apache.org/docs-2.0/mod/perchild.html
>
> Problem is the following statement:
> "This module is not functional. Development of this module is not
> complete and is not currently active. Do not use perchild unless you are
> a programmer willing to help fix it."

I'm willing to help, but this is a production server and I'm not a
programmer...

> So...

So, I could run a script daily like:
for i in `ls /home/users |cut -f0-1 -d/` ; do
    chown $i.users /home/users/$i
done
Or something more fancy...

--
Ari�n Huisken
Xilay Software

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to