[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-linux-e
Subject:    Re: [SLE] Brainlocked over recursive script.
From:       Stephen Allewell <stephen () mirramar ! fsnet ! co ! uk>
Date:       2006-05-27 11:06:10
Message-ID: 447832A2.3000508 () mirramar ! fsnet ! co ! uk
[Download RAW message or body]

Per Jessen wrote:
> Rikard Johnels wrote:
> 
>> This is almost embarasing..
>> I am trying to recursively chmod a series of files.
> 
> chmod -R ?
> 
> 
> /Per Jessen, Zürich
> 
> 

Is a better option

find <dir> -type f -exec chmod 644 {} \;

Replace <dir> with the required path or use . for the currect dir.

chmod 644 on a directory means you wont be able to cd into it.



Steve

-- 
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@suse.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic