Newbie 
Joined: 2007/5/27
From
Posts: 2
|
Hello, I've got an ftp server with a directory for anonymous uploads. The directory is write-only with permissions set to drwx-wx-wx. My problem is, that all file uploads get permissions of -rw------- regardless of anon_umask setting in vsftpd.conf(5), I'd like them to have 644... I've tried various combinations of anon_umask and file_open_mode directives (even crazy ones like umask to 000 and file_open_mode=0777) but the permissions are still the same.
I I've tried to Google the problem but all posts seem to reference only the anon_umask option... Did I overlook something? Did anyone encounter a similar problem?
I'm running CentOS 4.5 with vsftpd-2.0.1-5.EL4.5
Thanks for any pointers... Jakub
My vsftpd.conf file is attached below: ----- # General settings write_enable=YES local_umask=022 dirmessage_enable=YES listen=YES xferlog_enable=YES connect_from_port_20=YES chown_uploads=YES chown_username=ftp xferlog_std_format=YES
ftpd_banner=XXXXX
# Anonymous settings anonymous_enable=YES anon_upload_enable=YES anon_umask=022 hide_ids=YES
# Security settings pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES nopriv_user=ftp_nopriv
# DoS protection max_clients=10 max_per_ip=5 anon_max_rate=50000 # 50 kb per client -----
|