You are not logged in.

#1 2016-03-10 14:30:33

colonelmo
Member
From: Tehran, Iran
Registered: 2015-11-06
Posts: 21

/usr/lib/ Ownership and permissions

Hello.

I accidentally

chmod 777 -R && chown myusername -R

'd

/usr/lib/

instead of

/usr/lib/go/bin

and there are some issues that I would like to know how to solve. I would appreciate it if anyone could help.
Naturally

/usr/lib/sudo

reacted to the wrong

setuid bit

and I had to login as root to work around that one. What I'm asking is, are there any other potential issues? (say with xorg because of the files permission levels)
Second, I had to log in using another tty because

su -

won't work (Authentication failed). What is causing that?

Thanks in advance.

Offline

#2 2016-03-11 05:59:25

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: /usr/lib/ Ownership and permissions

"su" is probably failing because the ownership and permissions of the libs belonging to util-linux are now incorrect.  Most stuff under /usr/ should be owned by root.  I would imagine there are now many potential issues with broken applications etc.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB