|
chgown '/mydir' newown(ABC) chgown '/mydir/*' newown(ABC) CHGAUT OBJ('/mydir') USER(XYZ IJK) DTAAUT(*RWX) OBJAUT(*ALL) although I strongly recommend an authorization list instead!!! CHGAUT OBJ('/mydir/*') USER(XYZ IJK) DTAAUT(*RWX) OBJAUT(*ALL) CHGAUT OBJ('/mydir') USER(DEF) DTAAUT(*NONE) OBJAUT(*NONE) CHGAUT OBJ('/mydir/*') USER(DEF) DTAAUT(*NONE) OBJAUT(*NONE) These steps will not do directory recursion. In other words if you have any subdirectories, you'll have to repeat these steps. Exposure to unix commands may show you something you can use in QSHELL to do the same, and also do recursion. But, Mr. Moreno, I STRONGLY recommend that authorization list. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com jmoreno@xxxxxxxxxxxxxxxx Sent by: midrange-l-bounces@xxxxxxxxxxxx 09/13/2004 10:40 AM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To Midrange-L@xxxxxxxxxxxx cc Fax to Subject Change all Objects in IFS directory ( Ownership, Authority (autorizations/permissions) ) Hello all - Is there a utility or a way to do the following Given a particular directory in the IFS, I want to change the ownership of this diectory and any other object that belongs to this directory. I also want to introduce, (fix and/or amend) any previous authorities/permissions defined against these objects For example I want all the object to be owned by my user profile - "CompanyProfileABC" and I want to give all IFS object authority *RWX to "CompanyProfileXYZ" and "CompanyProfileIJK". and I want to remove any previous object authorities given to "CompanyProfileDEF" Thanks for your replies Jorge Moreno Overseas Military Car Sales Woodbury, New York + - - - - - - - - - - - - - - - - - - - - - - - - This email, including its attachments, may contain information that is confidential and may be protected by federal and/or state laws and regulations, or other confidentiality privileges. This email, including its attachments, may contain non-public information; therefore it is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient, please delete this email, including its attachments, and notify the sender. The unauthorized use, dissemination, distribution or reproduction of this email, including its attachments, is prohibited and may be unlawful. + - - - - - - - - - - - - - - - - - - - - - - - - -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.