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
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
Comment