Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


migration rejected from Apr 25 '15 at 3:26

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Andrew Schulman, EEAA, Katherine Villyard, Ward, masegaloeh Apr 25 '15 at 3:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

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, – Cesar May 1 '10 at 1:36
Thanks Cesar :) – Gublooo May 1 '10 at 1:50

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.

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

Make a new group called your folder. Make a new user in that group (useradd -g ) Give that group read write for that folder


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