Replace permissions on a project directory Because ZFS ACL’s include the concept of inheritance and differentiate between files and directories we need to do a search and replace operation in order to recursively change permissions on an entire directory. chmod -R A- /export/Corporate/Saleschmod -R 770 /export/Corporate/Saleschmod A0=owner@:————–:fdi—:deny /export/Corporate/Saleschmod A1=owner@:rwxpdD-A-W-Co-:fdi—:allow /export/Corporate/Saleschmod A2=group@:————–:fdi—:deny /export/Corporate/Saleschmod A3=group@:rwxpdD——–:fdi—:allow /export/Corporate/Saleschmod A4=everyone@:rwxp–aARWcCos:fdi—:deny /export/Corporate/Saleschmod A+group:domain+domain users:rx:deny /export/Corporate/Saleschmod A+group:domain+corporate-all:wpdDxrcaRAwW:fd:allow /export/Corporate/Saleschmod A+group:domain+corporate-sales:wpdDxraRAwW:fd:allow //export/Corporate/Saleschmod A+group:domain+domain admins:Co:fd:allow /export/Corporate/Salescd /export/Corporate/Salesfind . -type d -exec chmod A0=owner@:————–:fdi—:deny {} ;find . -type d -exec chmod A1=owner@:rwxpdD-A-W-Co-:fdi—:allow {} ;find . -type d -exec chmod A2=group@:————–:fdi—:deny {} ;find . -type d -exec chmod A3=group@:rwxpdD——–:fdi—:allow {} ;find . …