Modify the following settings in the file '
/etc/vsftpd.conf' to enable write permissions:
$ sudo vi /etc/vsftpd.conf
write_enable=YES
local_umask=022
To allow just some users to login to the server, add the following settings in the file '
/etc/vsftpd.conf':
$ sudo vi /etc/vsftpd.conf
userlist_deny=NO
userlist_enable=YES
userlist_file=/etc/vsftpd.allowed_users
Create the file '/etc/vsftpd.allowed_users' and add the username of the users that can login to the server:
$ sudo vi /etc/vsftpd.allowed_users
admin1