Re: apache/php quota prob
Am Mittwoch 02 März 2005 16:50 schrieb Walhalla:
> any other idea to solve this quota-prob? any idea how hosters do
> this? i can't believe they di nothing? so, i could f.e. create
> pdf's or pics until disk / partition is full?
take a look at pureftpd.org...
The syntax is:
pure-quotacheck -u username/uid -d home directory [-g group/gid]
For instance, if you want to summarize usage for
the /home/ftpusers/john directory, whoose files are owned by the
"ftpusers" system account, just run:
pure-quotacheck -u ftpusers -d /home/ftpusers/john
You can run pure-quotacheck whenever you want, even when ".ftpquota"
files are already there. This is even a good idea to run this for
all users in crontab, so that stored quotas are always exact, even
if something went wrong (server bug, filesystem corruption,
savagely killed server, etc) .
--
Jochen Kaechelin || www.gissmoh.de
Reply to: