1851646 Members
3437 Online
104061 Solutions
New Discussion

Re: permissions/acls

 
SOLVED
Go to solution
Greg Butler
Occasional Advisor

permissions/acls

I have a directory whose permissions are set to 777 recursively that I can view the contents of from all user
ids except one. Is there something like an access control list that might exist on these files that I could query and possibly get rid of it ? There is something blocking access to these files for this user, I just need to know from the experts some of the possibilities. Any ideas ????
2 REPLIES 2
Wodisch_1
Honored Contributor
Solution

Re: permissions/acls

Hi Greg,

if that directory *does* have ACL entries, then "ls -l" would show it with a trailing "+" after the standard permissions, like this:
drwxrwxrwx+ 1 root sys ...

Can this user read any other directory on the same station?

Is that directory a mount-point and the permissions of the mount-directory are weird? You will have to "umount" it to see its permissions...

Depending on your filesystem type (HFS or VxFS3.3) the commands to display/modify the ACLs are:
- HFS: lsacl/chacl
- VxFS3.3: getacl/setacl

HTH,
Wodisch
Greg Butler
Occasional Advisor

Re: permissions/acls

The directory is not a direct mount point and is an hfs filesystem. There are no '+' on the files. The lsacl yields the same permissions that are visable with the ls -al command. Other directories at the same level are visable by this one user but this one is not. This one just doesn't make sense to me.