Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I would like to give a potential developer temporary access to some of my projects. I have almost everything in its own subdomain, and each directory is a sibling to my public_html directory. It looks something like: ("developer" is the cPanel account name.)

developer/ *This is the top level directory for the cPanel account. "/home/developer"
            site1/ *site1.mysite.com
            site2/ *site2.mysite.com
            site3/ *site3.mysite.com
            public_html/ *www.mysite.com
            ... etc

I created a directory inside public_html called tempdev and I added symbolic links to each of the sibling directories listed above.

My understanding of cPanel is that I can only assign one user with "Special FTP Access" per domain. I really dont want to give a complete stranger my login creds, (its just a development environment but still). So I used the cPanel FTP account creator UI. It will not allow me to assign the user access to the directories outside of public_html. I cant even give access to public_html either. So I made the tempdev directory in www and created the symlinks. Using the new account, I can see the symlinks, but I can go into them. Is there a better way to accomplish what I am attempting?

share|improve this question

closed as off-topic by Falcon Momot, Bryan, mdpc, Ward, Stephane Jul 1 '13 at 7:49

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it concerns the use of shared web hosting by end users or resellers, rather than the administration of web hosting. –  Falcon Momot Jun 30 '13 at 8:25

1 Answer 1

For this purpose you can create ftp account with cpanel and create link in public_html with any other name.

Like if you will create ftptest user and its default home dir will "/home/usernsme/public_html/ftptest" and you can create a link in public_html with other name as below:

cd /home/usernsme/public_html/

ln -s ftptest/ test

change ownership (if its root) to usernane of your domain now you can login to test and can see ftptest's content.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.