Hi, I'm trying to allow access to user's public_ftp folders under their homedirs via ftp. I've got vsftp setup and it allows anonymouse only logins (which I want). Under /var/ftp I have a users directory and what I want is when someone goes to ftp.example.com/users/joe they are dispalyed joe's files under his public_ftp folder. User homedirs are mounted from another server. But be unable to ls the users directory for every user on the system. The problem I currently get is when trying to cd to joe I get
550 Failed to change directory
I had thought I found somewhere that I need to mount users public_ftp to /var/ftp/users, but could be wrong. So I have in auto.master
Code:
/var/ftp/users /etc/auto.ftp
and in auto.ftp
Code:
* -intr,soft,nosuid mountsrvr:/home/&/public_ftp
I'm not sure what details you'd need to help me troubleshoot this problem, but here is some of my vsftpd.conf file
anonymous_enable=YES
local_enable=NO
write_enable=NO
local_umask=022
pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES
Much thanks to anyone who can help!