Permissions scheme not working
Posted
by
ReaZem
on Ask Ubuntu
See other posts from Ask Ubuntu
or by ReaZem
Published on 2012-09-10T02:27:46Z
Indexed on
2012/09/10
3:48 UTC
Read the original article
Hit count: 269
permissions
|group
I am currently building a home server and I am trying to give minimal permissions to every service. I am new to permissions management and this is an awesome learning experience for me :).
drwxr----- 7 reazem enter-home 4096 Sep 9 21:43 reazemdrwxrws--- 3 reazem minidlna 4096 Sep 9 21:36 media
reazem is my home folder and media is my media folder, it is situated directly inside my home.
The minidlna user is part of the following groups : minidlna, enter-home.
I get the following error: Media directory not accessible! [/home/reazem/media]
I was hoping that because the minidlna user is part of the enter-home group, it could get inside the home folder, and then inside the media folder because it is in the minidlna group.
Where is my mistake?
Edit: I found out that chmod g+x /home/reazem solved the problem, but why? Why would you need the execute permission to get inside another directory?
Thank you!
© Ask Ubuntu or respective owner