cPanel FTP account access to sym links from parent directory

Posted by totbar on Server Fault See other posts from Server Fault or by totbar
Published on 2012-09-28T21:35:24Z Indexed on 2012/09/28 21:39 UTC
Read the original article Hit count: 208

Filed under:
|
|
|
|

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?

© Server Fault or respective owner

Related posts about centos

Related posts about permissions