Problem FTP(VSFTP Put/get file with permission 077(rw-------) or 022 (rw-r--r--) to 002(rw-rw-r--)

** Myself

VSFTP Default Permission to put/get default file to 002 rw-------

1.) edit vsftpd.conf and change local_umask to 002

vi /etc/vsftpd.conf

#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#
local_umask=002
#
# Uncomment to put local users in a chroot() jail in their home directory
# after login.
#
#chroot_local_user=YES

2.)restart vsftpd
 /etc/init.d/vsftpd restart
Loading