× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I was going to suggest the IFS command CHGOWN.  For example
CHGOWN '/NOTES01/NOTES/DATA/*' NEWOWN(QNOTES)
or
CHGAUT '/NOTES01/NOTES/DATA/*' USER(*PUBLIC) DTAAUT(*EXCLUDE) OBJAUT(*NONE)

But then you want to do this recursively in a tree.  These commands won't
do the recursion.

Rob Berendt

==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.



                    "Graap, Ken"
                    <keg@nwnatural.com>       To:     "'Midrange'" 
<midrange-l@midrange.com>
                    Sent by:                  cc:
                    midrange-l-admin@mi       Fax to:
                    drange.com                Subject:     QSHELL - Command 
syntax


                    10/15/2001 12:57 PM
                    Please respond to
                    midrange-l






I'm having trouble making mass changes to authority in the IFS.

Someone suggested that I use the QSHELL "chmod"  command... Especially to
recursively change all directories and file in a tree.

Does anyone know what the command syntax would be to do the following:

Remove all authority from all files in a directory tree...

Add the equivalent *PUBLIC *ALL authority for all the same files in a
directory tree.

Kenneth

****************************************
Kenneth E. Graap
IBM Certified Specialist
AS/400e Professional System Administrator
NW Natural (Gas Services)
keg@nwnatural.com
Phone: 503-226-4211 x5537
FAX:    603-849-0591
****************************************

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.