Skip to content

Commit 53cd231

Browse files
authored
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
1 parent 745769d commit 53cd231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/debian/8/vsftpd/vsftpd.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
anonymous_enable=NO
22
local_enable=YES
33
write_enable=YES
4-
local_umask=002
4+
local_umask=022
5+
anon_umask=022
56
anon_upload_enable=NO
67
dirmessage_enable=YES
78
xferlog_enable=YES

0 commit comments

Comments
 (0)