Uh, I already answered that question. Here it is again.
For the purpose of uploading files for web site content, simply create an FTP or shell user and provide them with the login details. Then Add or Edit the subdomain or domain so that the “Web Directory” is a directory in their user home directory. And then if for some reason you need access to the files there, you would need to use their login details, unless you are familiar with Unix-style filesystem owners/groups/public permissions.
- Add User, write down
C. Home Directory: /home/username
- Add Domain or Edit Domain, set Web Directory to /home/username/domain
- To upload or manage the files served from that domain, you should
only ever use the same username/password for the user whose home directory the Web Directory is in
It’s really that simple. You see, on the filesystem, each user gets their own diskspace called the home directory. Web content has to be in someone’s home directory. So you have to tell the web server in which home directory. NOTE: Do not set “Web Directory” to just “/home/username”
And unless you are familiar with Linux (It is not the same as Windows or MS-DOS) then don’t even attempt to manage the files of userA if you are logged in to ftp/shell as userB, otherwise you’ll be creating problems. This is because each file or directory has an owner, and the owner gets to decide what others can do by granting permissions. If you try to share files by logging in as different users, you will be creating files and directories that can’t be deleted or scripts that can’t run or files that can’t be created, etc.
Perl / MySQL / HTML+CSS