Hello All,

 I've been trying to setup vsftpd with virtual users, each with their
own homedir. I've been at it all day, having lots of setbacks.
Ironically, getting the authentication done was a piece of cake, where
I'm getting the real trouble when I've logged in. I can list files but
can't write or make directories.


 The ftp user I've setup is named 'clients', homedir is /data/clients.

Here's my conf at the moment:

local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=NO
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
log_ftp_protocol=YES
anonymous_enable=NO
virtual_use_local_privs=YES
guest_enable=YES
user_sub_token=$USER
local_root=/data/clients/$USER
chroot_local_user=YES
hide_ids=YES


With this conf I can login, list the directories, etc. However cannot
upload or make any new directories.

If I enable any of these two options:


guest_username=clients
nopriv_user=clients


I am unable to login, getting the error:


500 OOPS: cannot change directory:/data/clients/testuser
Login failed.


Everything is owned clients:clients.


Can anyone help me out here? I've been banging my head against the wall
all day and am out of steam. Also, I can't figure out how to get
any /useful/ information from vsftpd to help debug the problem.

Thanks,
Nick



Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to