How to add a user who can only access a sub-folder



for example, if i got a folder like:


i wanna create a user, who only the FTP access to the upload folder only. i tried a lot but failed.




Hmm I have tha exact opposite problem. I created a new FTP user, and all they can access is the directory I created for them. They cannot go up a level.

THat’s not what happened to you?

“Try to be the kind of person your dog thinks you are.”


You cannot chroot* an FTP or shell user yourself. Regular FTP will be chroot’d to the user home directory and Secure FTP will not be chroot’d.

For web access, you can use the Re-map Subdir panel to map a URL path to a directory, so that
http://domain/uploads/ maps to /home/username/uploads/ for example. This would work well for the situation where the person downloading the file does not need FTP access.

If one uses the shell, they can copy the files from one home directory to another if the permissions are set appropiately. This would work well if people are sharing management of the files.

  • “chroot” means to confine access to the filesystem to a particular part of the directory tree. Attempts to access any other part will fail.

:cool: Perl / MySQL / HTML+CSS