I'm having difficulties understanding how permissions work when I thought I had a hang of it.
I will use this as a test case (No I don't want to modify as root), just want these permissions to work: sudo chmod 33:33 install.php sudo chmod g+w install.php And voila -rw-rw-r-- 1 33 33 19664 May 10 07:45 install.php I am user mandala, gid 1001 with groups I belong to being 1001 and 33 (the group for that file) :/var/web/temp/dokuwiki$ id uid=1001(mandala) gid=1001(mandala) groups=1001(mandala),33(www-data) When I try this it fails: mv install.php install.php.old mv: cannot move `install.php' to `install.php.old': Permission denied I pretty much have to give myself '777' to get access to this.. Why? -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf) --- You received this message because you are subscribed to the Google Groups "Linux Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
