Re: chmod script

1999-02-02 Thread Carey Evans
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

Re: chmod script

1999-02-02 Thread Ben Collins
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

Re: chmod script

1999-02-01 Thread Pere Camps
Ben, > chmod -R og-rwx /path But if my files are 400... Thanks for your help anyway! -- p.

Re: chmod script

1999-02-01 Thread Ben Collins
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

Re: chmod script

1999-02-01 Thread Oliver Elphick
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

chmod script

1999-02-01 Thread Pere Camps
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.