Pere Camps <[EMAIL PROTECTED]> writes:
> Hi!
>
> Does anybody have a script for changing all the dirs and subdirs
> into mode 700 and all the files into mode 600 ?
Maybe
chmod -R u=rwX,go= path
Capital X means preserve the exisiting execute permission.
--
Carey Evans http
On Mon, Feb 01, 1999 at 10:28:37PM +, Pere Camps wrote:
> Ben,
>
> > chmod -R og-rwx /path
>
> But if my files are 400...
>
> Thanks for your help anyway!
>
> -- p.
chmod -R og-wrx u+rw /path
--
--- - - --- - - - ---
Ben Collins
Ben,
> chmod -R og-rwx /path
But if my files are 400...
Thanks for your help anyway!
-- p.
On Mon, Feb 01, 1999 at 04:13:28PM +, 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
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...
chmod -R . go-rwx,u+rw
find . -type d | xargs chmod u+x
--
Oliver
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...
:-/
TIA!
-- p.
6 matches
Mail list logo