Re: [CentOS] chmod for directories only

2008-12-01 Thread Filipe Brandenburger
Hi, On Mon, Dec 1, 2008 at 12:53, Robert Moskowitz <[EMAIL PROTECTED]> wrote: > I want to change the permissions on directories, recursively to: > drwxr-xr-x > > but keep the files within the directory tree as: > -rw-r--r-- > > But I can't find an option for chmod to only affect directories. I su

Re: [CentOS] chmod for directories only

2008-12-01 Thread Robert Moskowitz
Bill Campbell wrote: On Mon, Dec 01, 2008, Robert Moskowitz wrote: I want to change the permissions on directories, recursively to: drwxr-xr-x but keep the files within the directory tree as: -rw-r--r-- But I can't find an option for chmod to only affect directories. I suppose it won't

Re: [CentOS] chmod for directories only

2008-12-01 Thread Bill Campbell
On Mon, Dec 01, 2008, Robert Moskowitz wrote: > I want to change the permissions on directories, recursively to: > > drwxr-xr-x > > but keep the files within the directory tree as: > > -rw-r--r-- > > But I can't find an option for chmod to only affect directories. I > suppose it won't hurt (in t

Re: [CentOS] chmod for directories only

2008-12-01 Thread nate
Robert Moskowitz wrote: > I want to change the permissions on directories, recursively to: > > drwxr-xr-x > > but keep the files within the directory tree as: > > -rw-r--r-- > > But I can't find an option for chmod to only affect directories. I > suppose it won't hurt (in this case) to set the x f

[CentOS] chmod for directories only

2008-12-01 Thread Robert Moskowitz
I want to change the permissions on directories, recursively to: drwxr-xr-x but keep the files within the directory tree as: -rw-r--r-- But I can't find an option for chmod to only affect directories. I suppose it won't hurt (in this case) to set the x for the files, but I want some consist