mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-21 21:10:17 -08:00
53cd231148
better for security: using 022 for local_umask and anon_umask is better than 002 , it will create default 755 folders and 644 files (instead of 775) : 777 - 775 = 002 777 - 755 = 022 i think it's better to change in all vsftpd.conf files (all in install folder) regards
27 lines
526 B
Plaintext
27 lines
526 B
Plaintext
anonymous_enable=NO
|
|
local_enable=YES
|
|
write_enable=YES
|
|
local_umask=022
|
|
anon_umask=022
|
|
anon_upload_enable=NO
|
|
dirmessage_enable=YES
|
|
xferlog_enable=YES
|
|
connect_from_port_20=YES
|
|
xferlog_std_format=YES
|
|
dual_log_enable=YES
|
|
chroot_local_user=YES
|
|
listen=YES
|
|
pam_service_name=vsftpd
|
|
userlist_enable=NO
|
|
tcp_wrappers=YES
|
|
force_dot_files=YES
|
|
ascii_upload_enable=YES
|
|
ascii_download_enable=YES
|
|
#allow_writable_chroot=YES
|
|
allow_writeable_chroot=YES
|
|
seccomp_sandbox=NO
|
|
pasv_enable=YES
|
|
pasv_max_port=12100
|
|
pasv_min_port=12000
|
|
use_localtime=YES
|