Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: chmod 775 on all files

by mbadolato (Hermit)
on Jul 29, 2003 at 15:15 UTC ( [id://278860]=note: print w/replies, xml ) Need Help??


in reply to chmod 775 on all files

I agree with the others that the simple chmod -R 775 from the command line would be easiest. But, if for some reason you need to use File::Find, I believe (I didn't refer back to the docs, or test this) the syntax is something to the effect of

find({chmod(0775, $_)}, ['/path/to/your/base/dir']);

I haven't used File::Find for a looooong time so I could be off with that. starting point though? :) YMMV

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://278860]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-16 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found