PDA

View Full Version : [Ubuntu] vsftpd e permessi su files e cartelle


nizzola
29-09-2007, 12:12
Ciao a tutti!
Ho un problema con vsftpd! ogni volta che carico dei files o delle cartelle, i permessi non sono mai giusti!
Viene assegnato sia alle cartelle che ai file 260 mentre dovrebbe dare 775 ai files
ed alle cartelle dovrebbe assegnare 664.

Ho modificato il vsftpd.conf ma nulla da fare:


listen=YES

#listen_ipv6=YES
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES

local_umask=775

#anon_upload_enable=YES
#anon_mkdir_write_enable=YES

dirmessage_enable=YES

# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#

#chown_uploads=YES
#chown_username=whoever
#

#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
ser.
#nopriv_user=ftpsecure
#

#async_abor_enable=YES



#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to FTP service.
#

# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails

# chroot_list_enable below.
#chroot_local_user=YES


# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list

#ls_recurse_enable=YES

secure_chroot_dir=/var/run/vsftpd


pam_service_name=vsftpd


rsa_cert_file=/etc/ssl/certs/vsftpd.pem

userlist_enable=NO
userlist_file=/etc/vsftpd.user_list
userlist_deny=NO
check_shell=NO