Hi NG, I try to change the umask on file uploads on my ftpserver, but it doesn't work. file_open_mode=0644
The umask on the system is 0022 If I upload a file the permissions on my system are: -rw------- 1 virtual www-data 161 Oct 1 12:26 test.txt Directories: drwx------ 2 virtual www-data 4096 Sep 30 17:16 images But I want for files: -rw-r--r-- 1 virtual www-data 161 Oct 1 12:26 test.txt and directories should be: drwxr-xr-x 2 virtual www-data 4096 Sep 30 17:16 images I have a virtual user configuration. Here is the vsftpd.conf: anonymous_enable=NO local_enable=YES # Hide uid of ftpserver -> Performance boost hide_ids=YES write_enable=YES file_open_mode=0644 anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES anon_world_readable_only=YES # no ls -R possible -> no DoS attacks ls_recurse_enable=NO chroot_local_user=YES guest_enable=YES guest_username=virtual user_sub_token=$USER listen=YES listen_port=21 #connect_from_port_20=YES pasv_min_port=50000 pasv_max_port=51999 max_clients=200 max_per_ip=3 syslog_enable=NO vsftpd_log_file=/var/log/vsftpd.log xferlog_enable=YES xferlog_std_format=NO log_ftp_protocol=YES # Performance idle_session_timeout=120 data_connection_timeout=300 accept_timeout=60 connect_timeout=60 anon_max_rate=50000 Thanks... Achim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]