LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-08-2003, 10:40 AM   #1
Arcades
LQ Newbie
 
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Vector Linux
Posts: 21

Rep: Reputation: 15
Lightbulb newbie: accessing sr0 as normal user


hello, i have installed slackware 9.0 a few days ago, and don't really understand how a few things work. I may have read something about this but missed the point, or not have understood.

I have a ricoh ide cdrw, which I read in the HOWTO is supported with scsi emulation, I appened hde=ide-scsi during the slackware install to /etc/lilo.conf, and from looking at other posts in this forum my /etc/fstab is correct also.

the problem is, to access this drive now it is device sr0 I must su to root.

example: for playing audio cds, xmms won't play at all - even when I tell it to use device /dev/sr0. However gnome-cd will, if im loged in as root. I can mount data-cd's fine also.

any help is appreciated
 
Old 07-08-2003, 12:24 PM   #2
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Rep: Reputation: 15
You might be able to change the ownership of /dev/sr0 with chown. i dont know if this is safe or what, sort of a newbie myself.
 
Old 07-08-2003, 12:54 PM   #3
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Have you added users in the appropriate fstab line to allow anyone to mount?
 
Old 07-08-2003, 08:23 PM   #4
Arcades
LQ Newbie
 
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Vector Linux
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you for the replies.

Looking_Lost : yes, I replaced 'owner' with 'users' in fstab.

broxys : I will 'man chown' and see if it can help
 
Old 07-08-2003, 08:44 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Don't chown, a chmod will do the trick ...

chmod ugo=rwx /dev/sr0

Or, a safer solution, create a group cdrom,
and
chgrp cdrom /dev/sr0
chmod ug=rw /dev/sr0
chmod o+r /dev/sr0

and add the users that should be able to
use the rawdevice (for audio, or if it were
a burner) to that group.

Cheers,
Tink

P.S.: Best regards from windy Welington ;)

Last edited by Tinkster; 07-08-2003 at 08:47 PM.
 
Old 07-09-2003, 01:03 AM   #6
Arcades
LQ Newbie
 
Registered: Jul 2003
Location: Auckland, New Zealand
Distribution: Vector Linux
Posts: 21

Original Poster
Rep: Reputation: 15
Thumbs up fun with chmod

Thank you Tinkster! Its all running fine now as a user group cdrom.

PS. Thanks from rainy auckland
 
Old 07-09-2003, 01:21 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: fun with chmod

Quote:
Originally posted by Arcades
Thank you Tinkster! Its all running fine now as a user group cdrom.
Gidday!

Cool, glad I was of some help :}

Quote:
PS. Thanks from rainy auckland ;)
Heh .. got rain here, too... plus wind, and
freezing cold! :}

Cheers,
Tink
 
  


Reply



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
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
Problem accessing Gnome like normal user ArchArael Linux - Software 4 04-29-2005 10:50 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
What is the normal procedure for accessing a Zip disk? Robert52 Linux - Hardware 1 03-05-2004 05:21 PM
Accessing windows drive from my "normal" user. At0mic_PC Slackware 6 08-01-2003 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:56 PM.

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