Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: perl lost its modules!

by garry (Novice)
on Apr 02, 2014 at 01:27 UTC ( #1080664=note: print w/replies, xml ) Need Help??

in reply to Re: perl lost its modules!
in thread perl lost its modules!

That's a bad idea.

You shouldn't change the permissions on files in /usr directories except for the ones that you (the system administrator) own like in /usr/local.

Furthermore, running a command like chmod -R is especially dangerous, if you do not understand what you are doing.

The *.pm files in /usr are supposed to have 0644 permissions. They should not be set with execute. They are not executable files, after all.

Having said all that, this particular change is most likely benign. But you should never change files in the /usr directory except your own. These files and their permissions are managed by the system and rpm(8) in the OP's case.

Run the command rpm -V perl to see all the "damage" now.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2019-09-23 09:36 GMT
Find Nodes?
    Voting Booth?
    The room is dark, and your next move is ...

    Results (279 votes). Check out past polls.