Thank you for understanding the objective.  Wouldn't it be nice to have 
the 'elegant' solution when dealing with a large directory tree?

Seve

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 1/4/01, 8:41:16 AM, Holly Henry-Pilkington <[EMAIL PROTECTED]> wrote 
regarding Re: [expert] CHMOD Question:


> Sevatio Octavio wrote:
> >
> > >From the Console:  How do you chmod just the files in a directory tree
> > without going into each directory?

> chmod has a -r option for recursive (see: man chmod). In my experience,
> though, I couldn't get it to JUST change file permissions and not
> directories along the way. I have a directory that just has 
subdirectories
> underneath it with files in each directory. I used chmod -r 644 * from
> that main directory. Then I used chmod 755 * to change the directories
> back to the permissions they should have for my application. Not elegant,
> but it worked. :)

> Holly

Reply via email to