LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-14-2005, 08:58 AM   #1
yrfonfria
LQ Newbie
 
Registered: Jun 2005
Location: Santa Clara Cuba
Posts: 6

Rep: Reputation: 0
Unhappy locked devices after upgrading KDE


Hi All:

I got Makdrake Linux 10.0 running on my box, few days ago I decide change KDE 3.2 comming with Mandrake 10.0 distribution to KDE-3.4.0 from KDE web site. To do so I first uninstall KDE 3.2 using rpm and then compile KDE 3.4.0 downloaded from KDE web site and install it on my box. After that all my devices are locked only root can write to them (by devices I mean CD-RW, Sound Card) this is because all them mounted in /dev have the following permissions
crw-------.

The first solution I tried was login as root and issue chmod 777 /dev/device where device points to each device mounted on /dev and this works fine but works until I reboot my machine. I really don't want to do this procedure everytime I reboot my machine. Then I try to find wich daemon set permissions on devices and found devfsd do that work. So I went to /etc/devfsd.conf and write there the following lines:

REGISTER ^sound/dsp PERMISSIONS root.audio 0666
REGISTER ^sound/mixer PERMISSIONS root.audio 0666
REGISTER ^ide/host0/bus0/target1/lun0/cd PERMISSIONS root.audio 0666

that way I tell devfsd to assign rw permissions to these devices for everyone

Well thats doesn't work...

The last thing I do was go to lilo.conf and modify the command line passed to the kernel's image telling it "don't run devfsd" and manually issue chmod 777 /dev/device again, restart my box and when is up nothing is solved. Still my devices are locked

try to write chmod 777 /dev/device on boot scripts doesn't work
If someone can help me I'll be very grateful

Sorry my english 'cause I'm not a native english speaker
Best regards Yosvel
 
Old 06-15-2005, 09:37 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,476

Rep: Reputation: 190Reputation: 190
Have you tried putting your chmod command at the end of /etc/rc.d/rc.local ?
That's the last init script to run so there shouldn't be anything else that would change the permissions back.
 
Old 06-22-2005, 02:14 PM   #3
yrfonfria
LQ Newbie
 
Registered: Jun 2005
Location: Santa Clara Cuba
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

ok it works fine putting chmod on rc.local
thank you very much!!!! I am glad!!!!
 
  


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
locked devices after upgrading KDE yrfonfria Mandriva 1 06-14-2005 12:50 PM
SuSE 9.1 KDE 3.2.1 locked windows problem jeebus21 Linux - Newbie 1 01-23-2005 06:03 AM
KDE devices:/ dARkHunTEr Linux - Software 4 10-24-2004 09:00 PM
submount and kde devices fransemail Linux - Software 2 09-16-2004 01:27 PM
New Linux User: locked out of KDE! avaris15 Linux - General 12 12-21-2003 01:58 PM


All times are GMT -5. The time now is 03:12 AM.

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