Linux - SoftwareThis 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.
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.
Hello, I've been attempting to burn a CD as user for the past 4 hours and I just cant get it to work at all. I've used both k3b and xcdroast, but both spit out the same cdrecord error:
TOC Type: 1 = CD-ROM
/usr/bin/cdrecord: Warning: not running as root user, fs= option ignored.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
/usr/bin/cdrecord: No such file or directory. Cannot open SCSI driver.
/usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
CD burning DOES work if I am root, and I've used k3bsetup to change my cdrecord permissions (I also temporarily chmoded cdrecord as 7777, although I still got the same error.)
I've burned as user before, although not in this current install of SuSE 9.
I have a burning group (which my login is linked to), and it is associated with cdrecord, cdrdao, and readcd.
/usr/bin/cdrecord: Warning: not running as root user, fs= option ignored.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
/usr/bin/cdrecord: No such file or directory. Cannot open SCSI driver.
/usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
^Tried it, still getting the same very annoying error.
/usr/bin/cdrecord: Warning: not running as root user, fs= option ignored.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
/usr/bin/cdrecord: No such file or directory. Cannot open SCSI driver.
/usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Are there any other files that are used that could have the wrong privileges specified one way or another?
Well, I figured it out, and so that no one else ever has to endure this, here is the solution.
1. This ONLY happens in SuSE 9, and hopefully this will be the only distro it ever happens in.
Ok, here goes.
SuSE's goofy version of cdrecord requires something called 'resmgr' to be running for regular users in order to burn cd's as a non-root user. However, resmgr is not setup this way by default! On top of this, there is no documentation that explains this!
So... heres how to fix it.
One:
Open a terminal window su to root
Type:
resmgr login <username> :0
Use the login you wish to burn cds on, as your already root.
CD's should burn!
Of course, now you want this to run all the time.
This information is stored in the pam damon.
Navigate to
/etc/pam.d and open 'login'
Add the line
'session optional pam_resmgr.so grant=desktop '
This will load the resmgr correctly.
If you have a 'kde' file in the pam directory, add the line to it as well.
But, there is a better way.
Go to www.rpmseek.com and find a different rpm version of cdrecord. I simply installed a redhat 9 version of cdrecord.
This removes all of suses goofy proprietary code from cdrecord and allows it to work the way it should!
If you want to compile cdrecord yourself, you can do this as well, although compiling cdrecord is not exactly fun.
I was just thinking about this when I saw this thread. I'm also using SuSE 9 and couldn't understand why I needed to be root to burn...but I solved it by doing "sudo gcombust"
I had similar problem using Libranet 2.8.1; k3b 0.10.3
knew it had to be a permissions problem, as root could run k3b without problem.
i set up a group burning that includes me, and set cdrecord group to burning. that is pretty standard. also made cdrecord executable by group, also pretty standard.
but, it still wasn't working for me.
here is the catch, I think .... cdrecord is a shell script. i made it readable by group as well (in addition to executable). don't know if my reasoning was correct, but all is now working perfectly as regular user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.