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.

i have this folder/subdomain structure on my server:

--- website.com
    --- sub.website.com
    --- sub2.website.com
    --- sub3.website.com

if i login via sftp with my admin user i can see every folder. i just created a ‘myuser’ and via ftp it can view his /home/myuser folder.

what’s the best way to permit it to also view sub2.website.com and sub3.website.com? i'm using ubuntu as my server. thanks a lot.

share|improve this question
add comment

1 Answer

Use file system acl (man setfacl for details) so that the owner can give read/execute access to these directory to myuser

http://linuxcommand.org/man_pages/setfacl1.html

please let me know if you want more help.

share|improve this answer
add comment

Your Answer

 
discard

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.