Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a vsftpd installation running on Ubuntu 11.04. I have two users, an external user and an internal user. I only want the internal user to have write/upload permissions, but I want both to have read/download permissions. How do I accomplish this? I have already set write_enable=YES in the config, but that allows all users to write.

share|improve this question
up vote 1 down vote accepted

Haver a look at the user_config_dir directive.

This powerful option allows the override of any config option specified in the manual page, on a per-user basis. Usage is simple, and is best illustrated with an example. If you set user_config_dir to be /etc/vsftpd_user_conf and then log on as the user "chris", then vsftpd will apply the settings in the file /etc/vsftpd_user_conf/chris for the duration of the session. The format of this file is as detailed in this manual page



You should be able to create a file for the external user and specify


in it to stop their ability to write.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.