Friends - I need some help on the find command. I have these huge directories (sizing approx 400 TB) with probably a million+ folders . I am trying to use the find command to identify all sub folders under these directories that do not have permissions for the local group "Isilon Users".
Find command doesn't seem to have any option to list something by an ACL other than a owner or group.The only way seem to be to use
find . -type d -print -exec ls -led {} \; Capture the o/p then write a shell script to identify which directories don't list group "Isilon Users" .
This method is too long to execute and also resource intensive and no idea how long it is going to take especially walking thru a million directories. Any better thoughts on this...Goal is to find directories that do not have ACL's for "Isilon Users" Group .
I did a man find and I see an option -acl for extended ACL's but not much information on how to use this.
Isilon OneFS v7.0.1.6
# isi quota list
Type AppliesTo Path Snap Hard Soft Adv Used
-------------------------------------------------------------------------------------------
directory DEFAULT /ifs/iws/edsu/prod/vmax13 No - - - 471.7250T
directory DEFAULT /ifs/iws/edsu/prod/vmax14 No - - - 191.1307T
# cd /ifs/iws/edsu/prod/vmax13/pr/cases/CS0003/db/FCC_Broadband
Example
# find . -type d -print -exec ls -led {} \;
.
drwxrwxr-x 5 1001 sshd 71 Apr 17 2011 .
OWNER: user:1001
GROUP: group:sshd
CONTROL:dacl_auto_inherited,sacl_auto_inherited
0: group:AMER\et-dlg-nj-eds-prod-vmax13 allow dir_gen_read,dir_gen_write,dir_gen_execute,std_delete,object_inherit,container_inherit
3: group:Isilon Users allow dir_gen_all,object_inherit,container_inherit
./xml
drwxrwxr-x 2 1001 sshd 1079 Dec 14 2011 ./xml
OWNER: user:1001
GROUP: group:sshd
CONTROL:dacl_auto_inherited,sacl_auto_inherited
0: group:AMER\et-dlg-nj-eds-prod-vmax13 allow dir_gen_read,dir_gen_write,dir_gen_execute,std_delete,object_inherit,container_inherit
3: group:Isilon Users allow dir_gen_all,object_inherit,container_inherit
./documents
drwxrwxr-x 2 1001 sshd 2294 Dec 14 2011 ./documents
OWNER: user:1001
GROUP: group:sshd
CONTROL:dacl_auto_inherited,sacl_auto_inherited
2: group:AMER\et-dlg-nj-eds-prod allow dir_gen_read,dir_gen_write,dir_gen_execute,std_delete,object_inherit,container_inherit
3: group:Isilon Users allow dir_gen_all,object_inherit,container_inherit