|
Evan The best I've found so far is to use the CHGAUT command with '/dir1/..../*' for the object name. That gets all files and directories in the specified path. Be sure to do the CHGOWN command (same syntax) first and the CHGAUT command second. You still need to chase the subdirectories yourself however. (F9 is your friend!). If you map the drive to a PC and do DIR /F/S > dirfile (works in OS/2 anyway) You get a file with just the list of files all the way down the tree. You could upload this to the 400 and read it in a CLP processing each record. That'd save some typing! HTH - Larry Evan Harris wrote: > Another question on this subject - how do you assign authority to the tree > ? For example, I have an IFS directory /Stuff with subdirectories > /SomeStuff and /OtherStuff how do I *EASILY* change the object authority or > owner for all files and subdirectories under the /Stuff directory ? > > So far the only way I've found is to do it one object at a time using > CHGAUT. or point, click, click, click, right click, type, click, etc etc > using Oops navigator (I loathe GUI's). > > Green screen solution preferred, but Oops navigator method accepted ! > > I could *almost* live with this if I had to do it directory by directory > and the files in the directory got the correct authority/ownership. > > Do I need to write a program to walk the tree and grant this > authority/change ownership link by link ? > > I can understand IBM not wanting to automatically have subdirectories > inherit authority, but you'd think somewhere there would be a command that > gave you the option... > > Cheers > Evan Harris -- Larry Bolhuis | What do You want to Reload today? Arbor Solutions, Inc | Don't throw your PC out the window, (616) 451-2500 | throw WINDOWS out of your PC. (616) 451-2571 -fax | Two rules to success in life: lbolhui@ibm.net | 1. Never tell people everything you know. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.