You are not logged in.
Pages: 1
I swear that I have an uncanny ability to come up with problems that nobody else can.
# chmod 666 /dev/dsp
# ls -al /dev/dsp
lr-xr-xr-x 1 root audio 10 2005-02-27 02:04 /dev/dsp -> /dev/sound
I can't play songs in Rhythmbox because /dev/dsp needs write access. I am root and, as you can see, I'm trying to give /dev/dsp write permissions. I've tried chmod 777 as well.
What the heck is going on?
I am a gated community.
Offline
might be due to it being a link. Did you try chmodding the other end of the link?..
/dev/sound
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
yup I did, and that worked fine..
drw-rw-rw- 1 root audio 0 1969-12-31 17:00 sound
I can get /dev/sound to be 666 but not the link to it?
I am a gated community.
Offline
No clue. Maybe someone knowing a bit more about this can chime in.
I probably know enough about inodes and file handlers to make myself sound stupid. So, attempting to resist tempation for tasting my foot, I await someone more knowledgeable on this subject.
EDIT: You using udev perchance?
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Like I'm having the same problem ... changed dsp to audio & sound but after boot goes back to root ....
Is it a udev thing ?
more udev.permissions | grep dsp
dsp*:root:audio:0660
adsp*:root:audio:0660
:?
"just below me"
Offline
I don't think I have udev, although I'm not positive. How does one find out for sure?
And it's not getting switched back after I boot, the permissions aren't happening at all. My ls statement was right after my chmod statement.
Edit: Okay, I'm definitely not using udev.
I am a gated community.
Offline
Permissions of links are totally ignored, they have no meaning at all. Only what matters are the permissions of the file the symlink points to.
Offline
But weather you use devfs or udev, permissions will be restored every boot, following devfs or udev rules. If you want to have enduring permissions, change the config files of devfs / udev.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Like I'm having the same problem ... changed dsp to audio & sound but after boot goes back to root ....
Is it a udev thing ?
more udev.permissions | grep dsp dsp*:root:audio:0660 adsp*:root:audio:0660
:?
Yes it is. But latest udev doesn't use udev.permissions at all (you can delete it). Everything is now in .rules files.
Look into /etc/udev/rules.d/udev.rules. If you want to change something I would suggest copying this file to 00.udev.rules and delete everything except the lines between "# sound devices" and "# input devices". Then modify first rule like this
SUBSYSTEM="sound", GROUP="audio", MODE="0666"
or dsp rule like this:
KERNEL="dsp*", NAME="sound/%k", MODE="0666", SYMLINK="%k"
You can of course customize or add/change other things too (for example change audio to users if you prefer).
Offline
Emmm
Now I am confused lol
Thank you lanrat ... I guess I have some reading up to do....
Mr Green
Offline
Pages: 1