[CoLoCo] permission question

Collins Richey crichey at gmail.com
Sat Mar 29 18:42:02 GMT 2008


On Sat, Mar 29, 2008 at 12:05 PM, Jim Hutchinson <jim at ubuntu-rocks.org> wrote:
>

> Okay, I'm getting it about right. However, all the directories are set to
> drw-r--r-- (i.e. no x). Is there a way to change the dirs to 755 or 655 or
> whatever is right without doing it one by one? Using -R will affect files
> too I suppose.
>

Now would be a fine time to learn about the intricacies of using find
to search out directories only and piping the found directory names to
a command that applies the changes. Warning, you'll want to do a dry
run that only echos the commands first!

A little googling should bring up thousands of examples for this very
common tool set.


-- 
Collins Richey
 If you fill your heart with regrets of yesterday and the worries
 of tomorrow, you have no today to be thankful for.



More information about the Ubuntu-us-co mailing list