More on unix permission
Hi,
I read some articles about permissions, but I think my knowledge is still superficial. Today I went to my website, but nginx told me that page is unavailable (permission denied). Before everything worked well. I remember that only thing what I change was to add 'www-data' user to 'coolmax' group. I made some tests with directories and this is what I found: Code:
# ls -la / |grep qwer |
Basically, it checks all the perms, looking for a way to do what's required. I don't know if it goes left-to-right or reverse, but the effect is the same. It keeps going till it gets what it needs or runs out of perms to check.
See also ACLs. http://www.linuxtopia.org/online_boo...5_ch-acls.html |
The problem is with this:
Code:
# ls -la / | grep qwer Code:
drwxr--r-x So simply solution to this problem is to add at least execute permission for group on qwer directory, as: Code:
~$ chmod -R g+wx qwer |
All times are GMT -5. The time now is 10:52 AM. |