[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chmod script



On Mon, Feb 01, 1999 at 04:13:28PM +0000, Pere Camps wrote:
> Hi!
>
> 	Does anybody have a script for changing all the dirs and subdirs
> into mode 700 and all the files into mode 600 ?
>
> 	If I do a chmod 700 -R then all the files get changed to 700...
> :-/

Try:

chmod -R og-rwx /path

--
-----    -- - -------- --------- ----  -------  -----  - - ---   --------
Ben Collins <b.m.collins@larc.nasa.gov>                  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc.                 bcollins@debian.org
------ -- ----- - - -------   ------- -- The Choice of the GNU Generation


Reply to: