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

Possible Duplicate:
Linux - Create ftp account with read/write access to only 1 folder

Hey guys....

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

/home/webadmin/example.com/html/images
                               /css
                               /js
                               /login.php
                               /facebook.php

/home/webadmin/example.com/application/library
                                      /views
                                      /models
                                      /controllers
                                      /config
                                      /bootstrap.php

/home/webadmin/example.com/cgi-bin

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

/home/webadmin/example.com/html/js
/home/webadmin/example.com/html/css
/home/webadmin/example.com/application/views 

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 superuser.com May 1 '10 at 18:01

This question came from our site for computer enthusiasts and power users.

marked as duplicate by splattne May 15 '10 at 19:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer

If this is possible and how to do it depends on the software that running there and the permissions you have. Most likely the best way is to ask the tech support to do it for you.

share|improve this answer
    
Well I have root access –  Gublooo May 1 '10 at 7:49
add comment