LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2015, 07:36 PM   #1
Can-ned Food
LQ Newbie
 
Registered: Apr 2015
Posts: 4

Rep: Reputation: Disabled
Unhappy careless changes to /usr permissions, /usr/share for USB, ALSA, wireless et al


Hello everybody, I'll try to keep this short and topical. I'm looking for someone to point me in the right direction, not for help diagnosing the problem, necessarily.
I was careless with /usr and /usr/share and made some recursive changes with chmod and chgrp: adding the setuid and setgid bits to /usr, changed /usr group to adm, then making /usr/share writable by group.
This, of course, made sudo and mdm fail. I fixed those, but now I have problems with various device drivers: If the login session is not the root user then ALSA, USB, my wireless card, and the battery monitors (portable) aren't working.
Right now, almost everything in /usr/share, /usr/lib, and /usr/src is rwxr-xr-x root root (trying to get it to work again), but as that didn't fix the drivers or whatever I now am going through and examining the permissions from the live installer copy.

Anyway, so I will continue doing this as an educational exercise for myself. What I am curious to know is whether it is possible that the problem has spread from /usr, perhaps causing some changes in /etc during boot when it found undesirable permissions modes.
Er, I'm not completely new to Linux but I have some gaps in my knowledge, such as I yet don't even know where I can view my boot log though I maybe will have found that information by the time you read this.

There's little that I can post online, because it would probably be a huge ls -lAR dump.

Thank you for taking the interest in helping, et c.
 
Old 10-02-2015, 10:31 AM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Quote:
Originally Posted by Can-ned Food View Post
I yet don't even know where I can view my boot log
Have a gander at /var/log/boot.log
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect an app resource folder from system /usr/share to /home/user/[app]/usr/share minyor Linux - Software 2 04-23-2013 07:44 AM
USR 5420 802.11g Wireless USB Adapter Drivers in Kubuntu eddiejones Linux - Hardware 1 01-09-2011 10:47 PM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 09:33 AM
FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world. Mr_Shameless *BSD 4 05-16-2008 09:43 AM
USR 5422 Wireless USB in Slack linuxhippy Slackware 9 04-22-2006 09:31 PM


All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration