LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2006, 01:54 AM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
/dev changing permissions


I created a package for ALSA using checkinstall, but after I formatted my hard drive, reinstalled linux and then reinstalled my ALSA driver, I could not run alsamixer as a normal user. I discovered that the permissions of my /dev/snd directory were changed. In order to run alsamixer, I have to have 777 permissions. I changed the permissions but my changes do not last through a reboot. As soon as I restart the computer, my permissions are changed back to something else (I cannot remember the exact value, but the value excludes normal users). Why are my permissions changing?
 
Old 04-13-2006, 03:05 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Everything in /dev are devices, which get re-installed when you reboot your machine.
So, I suppose this re-install changes the permissions back to the default.
Maybe you can change the startup to include a chmod? Or maybe you can check if you can set the
default permissions for your ALSA related device files?
 
Old 04-13-2006, 03:30 AM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
Something very strange is happening. First it would not let me permanently change the permissions, then I typed chmod 777 snd and the file was accessible. I restarted the computer and the file was still accessible even though the permissions had changed!? The is really strange. If I'm sounding like a I didn't read your post, I did. This behavior is so strange. I guess if I run into trouble I can add a chmod command to my init scripts. But why did it suddenly start to work? I'm gonna reinstall slackware for the 5567th time just to figure out what I did. This is too strange. Thx.
 
  


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
FC3, /dev/dsp permissions changing weirdness slyman Fedora 0 05-06-2005 02:27 AM
/dev entries changing their owner and permissions pulsosu Linux - Security 2 04-11-2005 07:19 PM
/dev/ttyUSB0 and permissions mrsolo Linux - Software 1 11-14-2004 04:24 PM
/dev permissions mdk Mandriva 2 09-16-2004 10:12 PM
/dev Permissions ToeShot Linux - General 2 11-25-2001 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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