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 cannot resolve this problem for days. I've installed nginx on the latest ubuntu server on virtualbox. I have a shared virtualbox folder which contains the web root. The owner of web root is root and its group is vboxsf. I've added www-data user to the vboxsf group and verified it via "groups www-data". The user of nginx is www-data. I can verify this by "ps aux | grep nginx". But I still get 403 forbidden when trying to access index.html. Please help!!!

share|improve this question

closed as off-topic by Michael Hampton Nov 28 '15 at 9:51

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

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – Michael Hampton
If this question can be reworded to fit the rules in the help center, please edit the question.

Have you checked for file/directory ACLs? – mdpc Sep 19 '12 at 18:09
Have you checked permissions on the parent directories of the web root, not just the file in question? – cjc Sep 19 '12 at 18:15
yes I did. The path is /media/webroot and both media and webroot have 770 privliges. – yaniv Sep 19 '12 at 19:43
I dont know if it's a proper way to check access - I checked with sudo -u www-data ls -al /media/webroot and it worked! So www-data must have the proper priviles, right? – yaniv Sep 19 '12 at 19:47