Me and a teammate both have access to a server. We are both in a group that I will call team. I created a directory on the server, and with how the system is configured it defaults to drwxrws---+ with me as the owner and team as the group:
me@server:/parent_dir$ ls -l
drwxrws---+ 3 me team 4096 Dec 13 20:03 new_dir
me@server:/parent_dir$ getfacl new_dir/
# file: new_dir/
# owner: me
# group: team
# flags: -s-
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---
My teammate, who I have confirmed is part of team, can cd to parent_dir. From there, when he attempts to cd to new_dir, he gets the error:
-bash: cd: new_dir/: Permission denied
Why can't he access the directory?
parent_dir:
me@server:/$ ls -l
drwxrws---+ 4 root team 4096 Dec 12 21:11 parent_dir
me@server:/$ getfacl parent_dir
# file: parent_dir
# owner: root
# group: team
# flags: -s-
user::rwx
group::rwx
group:team:rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---