Link to home
Start Free TrialLog in
Avatar of gNome
gNomeFlag for Afghanistan

asked on

Unix script - find all folders a group has access to

We are trying to clean up a pretty messy file system with legacy groups assigned to various folders.  What would like to do is utlize the find command to start at a specific folder and then recursively scan to find and list which groups have been assigned to which folders.
ASKER CERTIFIED SOLUTION
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To search for directories belonging to a specific group (e.g. "staff") run

find /dir -type d -group staff
Avatar of gNome

ASKER

Thank You!