Score:0

How to change vsftpd upload permissions to folder

ca flag

How do I set upload permissions for a (non root) vsftpd user to another directory? I cannot find anything that discusses how to do this. The default upload directory is /home/myftpusersname/ftp/upload. I would like to setup a django directory permisions so I don't have to move files from the default directory from upload to django. I guess I could just login to root but I cannot figure that either. One issue at a time, lol.

Ubuntu: 20.04

Service: Digitalocean

File: vsftpd.conf

local_enable=Yes
write_enable=YES
anonymous_enable=NO
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
ssl_enable=NO
chroot_local_user=Yes
allow_writeable_chroot=YES
user_sub_token=$USER
local_root=/
pasv_min_port=30000
pasv_max_port=31000
userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
userlist_deny=NO

This is the error I get when I try to upload using FileZilla image screenshot

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.