Permission denied but group permissions look good on redhat
- by Tony
I have a user ftpadmin:
-bash-3.2$ id ftpadmin
uid=10001(ftpadmin) gid=2525(fsg) groups=2525(fsg),10005(git)
The important group to note is "git"
Then I have my git repository:
ls -al
drwxrwxr-x 7 git git 4096 Apr 20 14:17 fsg
So ftpadmin is a member of git, and git has given all permissions to people in the group. Why do I see this when I login as ftpadmin:
-bash-3.2$ ls -al /home/git/
ls: /home/git/fsg: Permission denied
...
Seems like I should have permission...