I found a folder whose ls -ld output goes like this
drwxr-x--- 14 root somegroup 12K Jan 13 20:10 somefolder
I dont belong to the group somegroup
as found from the groups
command. Rules say that i shouldn't be able to access any of the subfolders of this group, if i am not root and if i am not in somegroup. But somehow i can freely cd into that folder, and access all the subfolders inside the directory.
Is there a parallel mechanism through which access is managed in Unix ? Is there a way to check it ? Some comments in the link seems to suggest services like LDAP can do that. I have heard LDAP somewhere in my work context. But i am unable to figure out head from tail, searching online about this.
getfacl somefolder
? – FelixJN Jan 21 '22 at 18:12user=root group=somegroup access=750
etc.. – Harish Ganesan Jan 21 '22 at 18:17ls -ld .
(there is a . at the end of that command)? – icarus Jan 21 '22 at 19:41+
sign after the permissions. This could be due to that being a mount point and what is controlling it is the permissions on the directory pre-mount. This certainly happened on AIX circa 2010. A number of times I had to arrange aumount... chmod... mount...
by the admins. – Bib Jan 22 '22 at 11:00ls -ld .
– Harish Ganesan Jan 23 '22 at 13:33