Summary chmod

From: managers account <managers_at_mannet.mcb.net>
Date: Tue, 17 Dec 1996 16:13:36 +0000 (GMT)

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
Received on Tue Dec 17 1996 - 17:25:21 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT