|
Cool, I guess I don't realize the power of qsh. -----Original Message----- From: David Morris [mailto:David.Morris@xxxxxxxxxxxxx] Sent: Tuesday, July 15, 2003 2:04 PM To: security400@xxxxxxxxxxxx Subject: Re: [Security400] Recursively Change IFS Authority Mike, I would use qshell: qsh >for autfil in $(find /dir/dir2 -name '*.extension'); do system "chgaut >obj('"$autfil"') objaut(*all)"; done Or you could use something like: >find /dir/dir2 -name '*.extension' -exec chmod 755 {} \; David Morris >>> MNWills@xxxxxxxxxxxxxx 7/15/2003 12:04:49 PM >>> How would I go about recursively changing the authority/owner for all objects in a IFS directory? Is there an IBM delivered program that would do this? Mike _______________________________________________ This is the Security Administration on the AS400 / iSeries (Security400) mailing list To post a message email: Security400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/security400 or email: Security400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/security400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.