While reviewing some scripts, I saw this quite a lot
chmod a+x *.pl
So everyone becomes execute rights. After some research I found out that this is not really needed only the user needed execute rights. So instead why didn't the author write
chmod u+x *.pl
I don't know but if everyone can execute your script you might have a security risk at hand. So never give everyone execute on your stuff.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment