22.8 The Handy chmod = OperatorLet's say you have a set of files. Some are writable by you, others are read-only. You want to give people in your group the same permissions you have - that is, they can write writable files but can only read the read-only files. It's easy with an underdocumented feature of chmod :
%
That means "for all files ( If your chmod has a -R (recursive) option, you can make the same change to all files and directories in your current directory and beneath. If you don't have chmod -R , use this find ( 17.10 ) :
% The cpmod ( 22.16 ) program on the CD-ROM can copy all file permissions. - |
|