V
V
Vladislav Shchekoldin2011-11-28 11:14:16
Nginx
Vladislav Shchekoldin, 2011-11-28 11:14:16

Nginx and permissions for /home/zinter?

People, tell me - I'm a little stuck at work:
Ubuntu 11.10 is raised by Nginx + php-fpm.
Development car.
The user folder /home/zinter/projects contains site codes.
The www-data user has been added to the zinter user group
sudo gpasswd -a www-data zinter
, but it does not see /home/zinter/projects/*
How to win?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
YourChief, 2011-11-28
@YourChief

chmod -R g+r /home/zinter/projects
chgrp -R /home/zinter/projects

if it doesn't work out, log in as the www-data user and try step by step from the root to go to the desired folder , it may be that security contexts prevent system users from walking around user folders or some kind of apparmor
sudo su www-data
cd /
cd home
cd zinter
cd projects
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question