The problem here is the way you've interpreted the settings:
user_config_dir=/etc/vsftp
you've thought that th_s option simply is a place to point to specific user config file. But instead it is for specifying where you will keep your user based configuration files. It must be subdirectory. So you'll have user configuration files and each user will have a file specified with his/her username shoud they require special configuration.
so the paramter should read:
user_config_dir=/etc/vsftp
so you need to have a file called user1 under this subdirectory and it should contain this line:
local_umask=002
Main Topics
Browse All Topics





by: omarfaridPosted on 2009-05-15 at 06:34:48ID: 24395305
I think you need to do the following:
d/vsftpd_u ser_conf
nf copy the config file to the file user1
s for the duration of the session. The format of this file is as detailed in this manual page! PLEASE NOTE that not all settings are effective on a per-user basis. For example, many settings only prior to the user's session being started. Examples of settings which will not affect any behviour on a per-user basis include listen_address, banner_file, max_per_ip, max_clients, xferlog_file, etc."
- put below line in vsftpd.conf file
user_config_dir=/etc/vsftp
- under the dir /etc/vsftpd/vsftpd_user_co
Please see below lines taken from man page:
"user_config_dir 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/chri