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

Posted by Gublooo on Stack Overflow See other posts from Stack Overflow or by Gublooo
Published on 2010-05-01T01:13:24Z Indexed on 2010/05/01 1:17 UTC
Read the original article Hit count: 351

Filed under:
|

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

© Stack Overflow or respective owner

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

Posted by Gublooo on Server Fault See other posts from Server Fault or by Gublooo
Published on 2010-05-01T01:52:22Z Indexed on 2010/05/01 18:08 UTC
Read the original article Hit count: 351

Filed under:
|

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

© Server Fault or respective owner

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

Posted by Gublooo on Server Fault See other posts from Server Fault or by Gublooo
Published on 2010-05-01T01:13:24Z Indexed on 2010/05/01 2:28 UTC
Read the original article Hit count: 351

Filed under:
|

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

© Server Fault or respective owner

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

Posted by Gublooo on Super User See other posts from Super User or by Gublooo
Published on 2010-05-01T01:52:22Z Indexed on 2010/05/01 1:58 UTC
Read the original article Hit count: 351

Filed under:
|

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

© Super User or respective owner

Related posts about linux

Related posts about ftp