Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: how to run this script (permissions)

by johngg (Abbot)
on Oct 05, 2012 at 17:44 UTC ( #997525=note: print w/ replies, xml ) Need Help??


in reply to Re^3: how to run this script (permissions)
in thread how to run this script

chmod 777 test.pm

Far too permissive!

That gives every man and his dog permission to run, modify or even delete the script, if they are able to browse to the directory containing it. Much safer would be

chmod u+x test.pm

We see, and have to try to fix, the chaos that ensues when someone does an ill-considered

chmod -R 777 /some/path/with_lots_of/sub-directories

and it is a practice strongly to be discouraged.

Cheers,

JohnGG


Comment on Re^4: how to run this script (permissions)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-08-30 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls