Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: File::Find, chmod and warnings

by hanenkamp (Pilgrim)
on Oct 26, 2003 at 02:31 UTC ( [id://302150]=note: print w/replies, xml ) Need Help??


in reply to File::Find, chmod and warnings

Assuming that you're just trying to make everything readable/writable and directories executable, you could just do:

chmod -R a=rX,u=rwX *

I believe this to be POSIX compliant, but I could be wrong. This works under Linux. It will not dispell execute perms on plain files that already have them, but this could be rectified with a a-x before the rest of the symbolic mode expression.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2025-01-13 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (31 votes). Check out past polls.