tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: managers account <managers () mannet ! mcb ! net>
To: tru64-unix-managers
Subject: Summary chmod
Date: Tue, 17 Dec 1996 16:13:36 +0000	[thread overview]
Message-ID: <96076343421729.tru64-unix-managers.marc@archive.invalid> (raw)

Ther were two strains of thought :-
simply use -R as what you are requiring is a recursive operation, or use 
find.
The use of -R alone I don't think would be successful as this will change 
the (unknown) number of sub-directories to the same permissions won't 
it?  However the use of find as in
	find top_dir -type f -exec chmod new_value {} \;
	find top_dir -type d -exec chmod new_value {} \;

would seem to do the trick.
I was hoping some genius would be able to do it in one command as an 
elegant minimalist  :)
Thanks to all (many many replies) for your help.
Stuart McKenzie

                 reply	other threads:[~1996-12-17 16:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox