Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-21-2004, 09:39 AM
|
#1
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,362
Rep:
|
cdparanoia works as root but not as user
I am not able to use cdparanoia as user.
I have no problem reading cdroms, playing audio CDs, or using xcdroast
Running cdparanoia as root is fine with
cdparanoia -vd /dev/sr0
but as user I get
Checking /dev/sr0 for cdrom...
Testing /dev/sr0 for cooked ioctl() interface
/dev/sr0 is not a cooked ioctl CDROM.
Testing /dev/sr0 for SCSI interface
generic device: /dev/sg0
ioctl device: /dev/sr0
Could not open generic SCSI device /dev/sg0: Permission denied
/dev/sg0 is crw--r--- root disk and the user is a member of the rdisk group.
Can anyone help?
Thanks
|
|
|
11-21-2004, 10:50 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
I think it's because your user account isn't in the right groups. To burn CDs you have to be in the cdrom group by default IIRC. The disk group is only for mounting CDs and the like I think.
|
|
|
11-21-2004, 12:41 PM
|
#3
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,362
Original Poster
Rep:
|
As I wrote my user can burn CDs but cannot access the CD with cdparanoia.
I do not have a cdrom group at all
|
|
|
11-21-2004, 12:55 PM
|
#4
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
It's a permission problem anyway. Though I don't know if you can just adjust permissions on your /dev files without breaking or making things insecure
|
|
|
11-21-2004, 01:03 PM
|
#5
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,362
Original Poster
Rep:
|
I have found that it will work if I change /dev/sg0 to rw-rw--- but I am a little uneasy about that.
|
|
|
11-21-2004, 01:05 PM
|
#6
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
Yes that'll give your user read and write permissions on the device. It solves the problem but like I said I don't know if it's ok to do
|
|
|
11-21-2004, 01:16 PM
|
#7
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Re: cdparanoia works as root but not as user
Quote:
Originally posted by arubin
I am not able to use cdparanoia as user.
I have no problem reading cdroms, playing audio CDs, or using xcdroast
Running cdparanoia as root is fine with
cdparanoia -vd /dev/sr0
but as user I get
Checking /dev/sr0 for cdrom...
Testing /dev/sr0 for cooked ioctl() interface
/dev/sr0 is not a cooked ioctl CDROM.
Testing /dev/sr0 for SCSI interface
generic device: /dev/sg0
ioctl device: /dev/sr0
Could not open generic SCSI device /dev/sg0: Permission denied
/dev/sg0 is crw--r--- root disk and the user is a member of the rdisk group.
Can anyone help?
Thanks
|
You do mean the user is a member of the disk group not the rdisk group right? Is this just a typo?
|
|
|
11-21-2004, 02:36 PM
|
#8
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,362
Original Poster
Rep:
|
disk
no typo
|
|
|
11-21-2004, 02:37 PM
|
#9
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,362
Original Poster
Rep:
|
Oh I just saw the error.
It should read
/dev/sg0 is crw--r--- root disk and the user is a member of the disk group.
|
|
|
All times are GMT -5. The time now is 06:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|