Solved

Using linux Quotas and vsftpd

Posted on 2004-10-04
2
4,408 Views
Last Modified: 2013-12-16
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
Comment
Question by:e_poirier
2 Comments
 
LVL 6

Accepted Solution

by:
blkline earned 50 total points
ID: 12219518
You need to set up quotas for the partition where you are FTPing to.  See:

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

Barry
0
 

Expert Comment

by:prof_pickles
ID: 12526034
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question