Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmms permissions issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
irony
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 129
Location: CT

PostPosted: Sat Jan 25, 2003 8:57 pm    Post subject: xmms permissions issue Reply with quote

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
View user's profile Send private message
staked
n00b
n00b


Joined: 25 Jan 2003
Posts: 15

PostPosted: Sat Jan 25, 2003 9:41 pm    Post subject: Reply with quote

Have you added your regular user to the audio group?
Back to top
View user's profile Send private message
irony
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 129
Location: CT

PostPosted: Sat Jan 25, 2003 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
irony
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 129
Location: CT

PostPosted: Sun Jan 26, 2003 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message
ElzWhere
n00b
n00b


Joined: 13 Oct 2002
Posts: 26
Location: Seattle

PostPosted: Wed Jun 25, 2003 6:31 am    Post subject: xmms permission denied Reply with quote

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
View user's profile Send private message
irony
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 129
Location: CT

PostPosted: Wed Jun 25, 2003 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Wed Jun 25, 2003 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum