Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4447
  • Last Modified:

Using linux Quotas and vsftpd

Hi all,

I have did some research on the net, but couldn't find anything that is working like I want. What I am looking for is to set quota for vsftpd users. I have started to configure linux quota, but it seems that I am still able to put new files.

Anybody know a good HOW-TO for this situation ??

Thanks
Eric
0
e_poirier
Asked:
e_poirier
1 Solution
 
blklineCommented:
You need to set up quotas for the partition where you are FTPing to.  See:

http://tldp.org/HOWTO/Quota.html

Barry
0
 
prof_picklesCommented:
According to the VSFTPD HOWTO, better notification of failed uploads due to disk limitations or quota constraints are in the works but have not yet made it into the code.

See ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.1/TODO

Earlier versions of VSFTPD would not notify users of a failed upload due to disk constraints at all, instead creating zero length files. I know from personal experience that from at least version 1.2.0-46 that the user does receive a "failure writing to local file" message (tested from the linux command line as well from the cuteFTP windows gui client).
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now