View previous topic :: View next topic |
Author |
Message |
irony Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: CT
|
Posted: Sat Jan 25, 2003 8:57 pm Post subject: xmms permissions issue |
|
|
I've setup alsa and xmms, and they work as root, but not as any other user. The problem seems to be an inability for xmms to write to /tmp. The exact error I get is:
Code: | ** CRITICAL **: setup_ctrlsocket(): Failed to assign /tmp/xmms_username.0 to a socket (Error: Permission denied) |
It seems like this should be pretty simple to fix, but I don't want to just open the permissions on /tmp, and I found it odd that nothing else has complained about this. _________________ "and if rain brings winds of change, let it rain on us forever..." |
|
Back to top |
|
|
staked n00b
Joined: 25 Jan 2003 Posts: 15
|
Posted: Sat Jan 25, 2003 9:41 pm Post subject: |
|
|
Have you added your regular user to the audio group? |
|
Back to top |
|
|
irony Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: CT
|
Posted: Sat Jan 25, 2003 9:47 pm Post subject: |
|
|
yes, the user is part of the audio group.
Alsa works on its own as the regular user - aplay will play .wav files. _________________ "and if rain brings winds of change, let it rain on us forever..." |
|
Back to top |
|
|
irony Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: CT
|
Posted: Sun Jan 26, 2003 6:22 am Post subject: |
|
|
Permissions on /tmp were:
Code: | drwxr-xr-x root root |
When I change them to:
Code: | drwxrwxrwt root root |
(as suggested in some other threads with somewhat similar problems), I don't get the same error.
What danger is there in giving other users write access to /tmp - aside from the danger in giving them write access anywhere? _________________ "and if rain brings winds of change, let it rain on us forever..." |
|
Back to top |
|
|
ElzWhere n00b
Joined: 13 Oct 2002 Posts: 26 Location: Seattle
|
Posted: Wed Jun 25, 2003 6:31 am Post subject: xmms permission denied |
|
|
I had the same problem with starting xmms with the permissions set to the users on the /tmp dir. I did as well add the user to the audio group but still no success.
My solution to the problem was to just chown the user to the /tmp dir. Assuming that this is just for you benifit no one elz'z you shouldnt have to worry about anyone tampering with your /tmp file that you do not know about.
Quote: | There isnt a chance for the mentally dead, but there is a chance for the physically dead so I was sent to resurrect them....By diggin up there graves! |
|
|
Back to top |
|
|
irony Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: CT
|
Posted: Wed Jun 25, 2003 12:17 pm Post subject: |
|
|
Yea, that was the other solution, but I was worried that other programs might assume that root was the owner, and it might cause problems that way.
There should be a more elegant solution, but hey, whatever works. _________________ "and if rain brings winds of change, let it rain on us forever..." |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Wed Jun 25, 2003 1:16 pm Post subject: |
|
|
For what it's worth, the /tmp permissions on my Gentoo system and another Debian system that I have access to are both 'drwxrwxrwt'. I'm pretty sure this is the default case for both OSes, so I don't think there should be any problem leaving it world writable. |
|
Back to top |
|
|
|