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 have never worked on linux and dont plan on working on it either - The only command I probably know is "ls" :)

I am hosting my website on Eapps and use their cpanel to setup everything so never worked with linux.

Now I have this one time case - where I need to provide access to a contractor to fix the CSS issues on my website. He basically needs FTP (read/write) access to certain folders.

At a high level - this is my code structure




I want the new user to be able to have access to only these folders


He should not be able to view even the content of other folders including files like bootstrap.php or login.php etc

If any sys admins can help me set this account up - will really appreciate it. Thanks

share|improve this question

migrated from stackoverflow.com May 1 '10 at 2:17

This question came from our site for professional and enthusiast programmers.

You might have better luck on superuser with this. –  Andrew B May 1 '10 at 1:18
I do have root access if thats what you mean by superuser –  Gublooo May 1 '10 at 1:22
hehehe, superuser.com –  Cesar May 1 '10 at 1:36
Thanks Cesar :) –  Gublooo May 1 '10 at 1:50

1 Answer 1

Create a new user in your control panel.

Add both the new user and your main user to a new group.

Give that group read/write permissions on the folders and files in question. Make sure that the files and folders are group writeable.

Make sure that the new users group is not the same as your current user.

share|improve this answer
Thanks Paul - I tried playing around by creating new user and groups in the control panel but there is no provision to specify what folders or files that group or user should have access to - So I'm assuming I need to do this from the command line as a root user - Thanks –  Gublooo May 1 '10 at 1:25
That's because you don't grant access to a folder on a user, you change the permissions of the folder. Specifically, you should give that folder read and write permissions, and change its ownership to the new user you create. –  Ernie Feb 9 '11 at 17:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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