[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cpx] disk usage
- Subject: RE: [cpx] disk usage
- From: "Steve Yates" <steve@xxxxxxxxxxx>
- Date: Fri, 18 Nov 2005 09:48:38 -0600
>> the uploaded files are owned by www and therefor do not count toward
the quota of the user.
> Does that make sense? my www folders are under /home/[user]/www
In Unix the ownership of the file matters, not its location.
Look at the uploads folder using "ll" (el el) and it will show the
ownership of its contents.
> for my account management, how do I make sure a user (ok, rather, a
"domain") has a quota?
If you program the site see if you can have Perl/PHP/whatever
change ownership after the upload. Or else, run a cron job each night
something like:
chown -R user:group /home/user/www/uploads
That will set all files in that folder to the specified user:group.
- Steve Yates
- ITS, Inc.
- I used to be uncouth, but, with practice, I became couth.
~ Taglines by Taglinator 4 - www.srtware.com ~
======================================================================
This is <cpx@xxxxxxxxxxxxx> <http://www.groupmail.org/lists/cpx/>
Before posting a question, please search the archives (see above URL).
Home |
Main Index |
Thread Index