Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to change Vsftpd directory

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
GabrieleMax
Posts: 126
Joined: 2016-09-07 20:24
Location: Senigallia (AN) - Italy
Has thanked: 4 times
Been thanked: 1 time
Contact:

How to change Vsftpd directory

#1 Post by GabrieleMax »

I followed this guide: http://www.sigerr.org/linux/setup-vsftp ... p-by-step/ and vsftpd works, I can upload files in /home/vsftpd/$USER/data but I'd like to upload them in /home/vsftpd/$USER

Here below you can see my vsftpd.conf

Code: Select all

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
nopriv_user=vsftpd
virtual_use_local_privs=YES
guest_enable=YES
user_sub_token=$USER
local_root=/home/vsftpd/$USER/data
chroot_local_user=YES
hide_ids=YES
guest_username=vsftpd
allow_writeable_chroot=YES
I tryed to change local root value to /home/vsftpd/$USER but I have an error from my ftp client, I can log in but I can't write there, maybe it's just a permission rule but I don't understand how could I fix it...

GabrieleMax

Post Reply