Permission denied but group permissions look good on redhat
Posted
by Tony
on Server Fault
See other posts from Server Fault
or by Tony
Published on 2010-05-07T16:45:56Z
Indexed on
2010/05/07
16:48 UTC
Read the original article
Hit count: 232
linux
|permissions
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...
© Server Fault or respective owner