Announcement

Collapse
No announcement yet.

vsftpd access to non-home folders [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    vsftpd access to non-home folders [SOLVED]

    I am setting up an FTP Server for a Client and their need requires a directory structure similar to /home/ftp/[Customer Name]. The home directory for the server is /home/ftp and user's home directories are /home/ftp/[Customer Name]. The users all belong to the ftpusers group.

    My question is, is there a way to prevent users from going back up the tree and accessing other users folders & files? For example, a user from Company A's home folder is "/home/ftp/Company A". Currently, the user can go back up the tree to /home/ftp and browse to "/home/ftp/Company B" and modify Company B's files because all files/folders are set to 660 and have ftpusers as their group.

    Any help is greatly appreciated.

    Thanks,
    ~ JimmyJam
    ~ JimmyJam<br />Web Applications Developer<br />Project Manager<br />http://www.expressdynamics.com

    #2
    Re: vsftpd access to non-home folders

    Never mind, I found the "chroot_local_user" option in the vsftpd.conf file. This seems to do exactly what I am looking for.
    ~ JimmyJam<br />Web Applications Developer<br />Project Manager<br />http://www.expressdynamics.com

    Comment

    Working...
    X