4

I am using Ubuntu Server 11.04, how can I make it so a user can only access /var/www/site1?

3

I am not sure but sudo chown -R a_user /var/www/site1 might work.

Or if you want any other users to access the directory and its content sudo -R chmod 744 /var/www/site1 might help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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