I think you must search the answer in the pure-ftpd documentation.
I d'ont have any experience with pure-ftpd, but I know that ProFtpd (the one I use) has a configurartion option to enable or disable quota support. So I thought maybe pure-ftpd would have one.
I searched in pure-ftpd site and if you try to read in this page: http://pureftpd.org/README
and find the word "quota" maybe you have the answer...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you must search the answer in the pure-ftpd documentation.
I d'ont have any experience with pure-ftpd, but I know that ProFtpd (the one I use) has a configurartion option to enable or disable quota support. So I thought maybe pure-ftpd would have one.
I searched in pure-ftpd site and if you try to read in this page: http://pureftpd.org/README
and find the word "quota" maybe you have the answer...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does quota work in Red Hat 8?
quota -V
Quota utilities version 3.06.
Compiled with RPC
Bugs to mvw@planets.elm.net, jack@suse.cz
I've got my /etc/fstab entry:
LABEL=/home /home ext3 defaults,usrquota 1 2
I have my quota file [ created via quotacheck -avu ]
-rw------- 1 root root 7168 Dec 20 18:49 aquota.user
I have quotas turned on:
quotaon -avu
/dev/hda2 [/home]: user quotas turned on
and I've set hard and soft block quotas for user "zero":
repquota -a
*** Report for user quotas on device /dev/hda2
Block grace time: 00:00; Inode grace time: 00:00
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 44 0 0 18 0 0
mysql -- 124 0 0 23 0 0
zero +- 4328 1024 1024 none 22 0 0
But that doesn't stop "zero" from exceding his quota...
I've tried this with 3 different kernels [ 2.4.18-14; 2.4.18-19.8.0, and 2.4.20-ac2 ] all with quota support compiled in.
What do I need to do to make this work?
Thanks.
you must do:
$quotacheck -avucm
The letter "c" is important. It creates aquota.user and aquota.group.
Do it! It works!
Ok, so now quotas work in the shell, but my user can still exceed his quota via ftp.
I'm using pure-ftpd right now, but will change if quotas work with a different ftp server.
I think you must search the answer in the pure-ftpd documentation.
I d'ont have any experience with pure-ftpd, but I know that ProFtpd (the one I use) has a configurartion option to enable or disable quota support. So I thought maybe pure-ftpd would have one.
I searched in pure-ftpd site and if you try to read in this page:
http://pureftpd.org/README
and find the word "quota" maybe you have the answer...
I think you must search the answer in the pure-ftpd documentation.
I d'ont have any experience with pure-ftpd, but I know that ProFtpd (the one I use) has a configurartion option to enable or disable quota support. So I thought maybe pure-ftpd would have one.
I searched in pure-ftpd site and if you try to read in this page:
http://pureftpd.org/README
and find the word "quota" maybe you have the answer...