Browse Source

Update vsftpd.conf

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
Orwah Issa 9 years ago
parent
commit
53cd231148
1 changed files with 2 additions and 1 deletions
  1. 2 1
      install/debian/8/vsftpd/vsftpd.conf

+ 2 - 1
install/debian/8/vsftpd/vsftpd.conf

@@ -1,7 +1,8 @@
 anonymous_enable=NO
 local_enable=YES
 write_enable=YES
-local_umask=002
+local_umask=022
+anon_umask=022
 anon_upload_enable=NO
 dirmessage_enable=YES
 xferlog_enable=YES