LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-15-2003, 08:25 AM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
xmms, audio cd, root, user, permissions, etc...


I did some searching about this and the general consensus was that permissions needed to be changed. And, interestingly enough, although that was the consensus, in my search nobody said what their permissions actually were.

Anyway, on my fresh install of slack 9 I can play a CD with XMMS as root, but not as a user. On my red hat 8 machine I can play a CD as root or as a user. In both cases the permissions look like this:

[bsl1@localhost bsl1]$ ls -l /usr/bin/xmms
-rwxr-xr-x 1 root root 1079145 Sep 2 2002 /usr/bin/xmms

[bsl1@localhost bsl1]$ cd /mnt
[bsl1@localhost mnt]$ ls -l
total 8
drwxr-xr-x 2 root root 4096 Jul 31 05:03 cdrom
...

What else does slack want - to allow a user to play an audio CD with XMMS?

Thanks...
 
Old 08-15-2003, 09:06 AM   #2
Aldebaran
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 13.1
Posts: 72

Rep: Reputation: 15
Maybe you don`t have permission to read the CDROM as user??
This link gives some clue (if thats the problem):
http://www.linuxquestions.org/questi...threadid=79434
 
Old 08-15-2003, 09:51 AM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
Well, as I posted above, I have:
[bsl1@localhost bsl1]$ cd /mnt
[bsl1@localhost mnt]$ ls -l

drwxr-xr-x 2 root root 4096 Jul 31 05:03 cdrom

And then in fstab I have:
(in red hat 8)
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

(in slack 9)
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

I changed 'owner' to 'users', and then rebooted, but that had no effect on the situation.

Anybody else?

Thanks...

Last edited by itsjustme; 08-15-2003 at 10:26 AM.
 
Old 08-15-2003, 10:06 AM   #4
Aldebaran
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 13.1
Posts: 72

Rep: Reputation: 15
In addition to edit your /etc/fstab, you also have to give users permission to the /dev/cdrom (I have CDROM as /dev/hdc).

So i tried typing (as root): chmod go+rx /dev/cdrom

This granted me access to mount CDROM as user.

Hope this helps. (It did for me).
 
Old 08-15-2003, 10:25 AM   #5
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Aldebaran
So i tried typing (as root): chmod go+rx /dev/cdrom
That just gives me what I already have for /dev/cdrom:

drwxr-xr-x

And I didn't have to do that in Red Hat. Though I realize that doesn't necessarily mean that what's good in red hat is good in slack.

Thanks...
 
Old 08-15-2003, 12:17 PM   #6
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
Try changing owner to user or users in the fstab.
 
Old 08-15-2003, 01:28 PM   #7
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
I did try that:
Quote:
I changed 'owner' to 'users', and then rebooted, but that had no effect on the situation.
Maybe drop the 's' and try 'user'...

But then, why is this not needed in red hat, but possibly is in slackware?

 
Old 08-15-2003, 01:36 PM   #8
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
Hmmm....

Well... that did it. Changed 'users' to 'user' in fstab. That link up there indicated that 'users' was the thing. But it wasn't.

Anyway, now for a little Al DiMeola, The Infinite Desire.

Thanks for all the input...

Last edited by itsjustme; 08-15-2003 at 06:31 PM.
 
Old 08-16-2003, 09:23 AM   #9
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
I have a SoundMax Card and I did a fresh install but still can't play CDs as root or user. Why?
 
  


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
Using root permissions with another user JWT2 Linux - Security 11 10-06-2005 07:13 PM
XMMS Works for root, not for user JazzMastaJim Suse/Novell 6 11-20-2004 09:59 PM
Root permissions for a user Neutron1998 Linux - Newbie 1 09-30-2004 04:28 PM
XMMS permissions on user accts seanmaggs Linux - Software 4 03-28-2004 07:40 AM
User Permissions?Root? bongski55 Slackware 7 06-17-2003 06:13 AM


All times are GMT -5. The time now is 04:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration