jgiller has asked for the wisdom of the Perl Monks concerning the following question:
I am sure you've helped someone on this one before...
I have a directory of directories that contain files. I need to change the permissions on any files encountered in this filesystem starting from the top but leave the directories alone. The part I am unclear on is how to avoid directories and most importantly how to drill to the last level in a directory that might have multiple subdirs.
Thanks!
Joe
GrandFather changed title from "Easy one probably" to "Changing file permissions recursively" and added paragraph tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing file permissions recursively
by Roy Johnson (Monsignor) on Oct 24, 2005 at 21:25 UTC | |
by EvanCarroll (Chaplain) on Oct 24, 2005 at 21:34 UTC | |
|
Re: Changing file permissions recursively
by mulander (Monk) on Oct 24, 2005 at 21:29 UTC | |
|
Re: Changing file permissions recursively
by sh1tn (Priest) on Oct 24, 2005 at 21:57 UTC | |
|
Re: Changing file permissions recursively
by EvanCarroll (Chaplain) on Oct 24, 2005 at 21:30 UTC |