-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 29/03/11 18:29, Henrik Størner wrote:
Den 29-03-2011 08:17, Adam Goryachev skrev:
host:~# mkdir /blah host:~# cd /blah/ host:/blah# touch test host:/blah# chgrp adm test host:/blah# chmod 640 test host:/blah# ls -l total 0 -rw-r----- 1 root adm 0 2011-03-29 17:15 test host:/blah# su - hobbit hobbit at host:~$ cat /blah/test cat: /blah/test: Permission denied
Permissions on /blah ? Assuming the "hobbit" user is a member of group "adm", the /blah directory must have group "adm" and at least group-execute permissions. If group is not "adm", then execute permission for "all".
In the above case, the directory was owner root, group root, permissions 655, so it wasn't a directory permission issue.
However, this still doesn't resolve or address the original issue of not being able to read /var/log/messages where I Showed the permissions of all the directories and files which *should* have allowed the user to read the file.
I'm sure there is something really bizarre going on for me, because this *should* work, and it can't be debian, because I'm sure there are plenty of other people out there running hobbit with debian who have this working properly....
Any other pointers? please? I really don't understand what else to look at...
Thanks, Adam
Adam Goryachev Website Managers Ph: +61 2 8304 0000 adam at websitemanagers.com.au Fax: +61 2 8304 0001 www.websitemanagers.com.au -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk2TJWgACgkQGyoxogrTyiXjMwCbBe2yRkXfQs9kkAsV62RTdKtD WWEAoNS3GaLEH8CrSTPUI4YlpO9rrvOt =G6kp -----END PGP SIGNATURE-----