|
chmod -R a-r * the -R is recursive the a-r is minus read from all or use u-r for user minus read (closer to public) * is all files and directories =========================================================== R. Bruce Hoffman, Jr. -- IBM Certified Specialist - AS/400 Administrator -- IBM Certified Specialist - RPG IV Developer "America is the land that fought for freedom and then began passing laws to get rid of it." - Alfred E. Neuman -----Original Message----- From: Graap, Ken <keg@nwnatural.com> To: 'Midrange' <midrange-l@midrange.com> Date: Monday, October 15, 2001 1:58 PM Subject: QSHELL - Command syntax >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 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.