I created a file /home/andrew/lolka123 and granted read permission to a group named andrew. (user andrew owns the file and also a parent directory) I also added group permission to the parent directory.
Now I want to grant access to this file to user http.
Both users andrew and http are present in group andrew.
Now I'm trying to read file from http user but it gives me Permission denied, why?
getfacl /home/andrew/lol123:
# file: home/andrew/lol123
# owner: andrew
# group: andrew
user::rw-
group::r--
other::r--
getfacl ~/:
getfacl: Removing leading '/' from absolute path names
# file: home/andrew/
# owner: andrew
# group: andrew
user::rwx
user:nobody:--x
group::---
mask::rwx
other::---
EDIT 2:
sudo chmod g+rx /home/andrew/ doesn't work. getfacl /home/andrew/ still shows group::---
