How to change Vsftpd directory

Kernels & Hardware, configuring network, installing services

How to change Vsftpd directory

Postby GabrieleMax » 2018-03-16 20:10

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
GabrieleMax
 
Posts: 51
Joined: 2016-09-07 20:24
Location: Senigallia

Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable