Operating System - HP-UX
1752427 Members
5474 Online
108788 Solutions
New Discussion юеВ

Finding out permissions assigned to a certain group

 
SOLVED
Go to solution
jjoseph8008
Occasional Contributor

Finding out permissions assigned to a certain group

I am not very familiar with ACL's and was hoping someone could help me out. I wanted to check on the command that I can use to get all ACL's (read/write/rwx) with a particular group. On a regular system, you can do a
find / -group staff -exec ls -ld {} \;
find / -group staff -exec ls -l {} \;
On a system with ACL's, would the find commands listed above provide ACL permissions assigned? (lsacl)
Please help.
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: Finding out permissions assigned to a certain group

>would the find commands listed above provide ACL permissions assigned? (lsacl)

You would have to change your find to:
find / -group staff -exec lsacl {} +
jjoseph8008
Occasional Contributor

Re: Finding out permissions assigned to a certain group

Awesome. Thanks for your help. Makes sense.
Dennis Handly
Acclaimed Contributor
Solution

Re: Finding out permissions assigned to a certain group

>Awesome. Thanks for your help

If you are happy with your answers, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33