LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 06:36 PM   #1
Can-ned Food
LQ Newbie
 
Registered: Apr 2015
Distribution: GNU→TT
Posts: 7

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, 09:31 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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



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 06:44 AM
USR 5420 802.11g Wireless USB Adapter Drivers in Kubuntu eddiejones Linux - Hardware 1 01-09-2011 09:47 PM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08: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 08:43 AM
USR 5422 Wireless USB in Slack linuxhippy Slackware 9 04-22-2006 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 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
Open Source Consulting | Domain Registration