Hi,
Since have have installed kernel 2.6.8.1, I am unable to burn cd's as a user, using k3b.
If I login as root, this works fine.....
I then tried kernel-2.6.7, and everything is fine.
Has 2.6.8.1 broken cdrecord?
Any help in solving this issue would be great.
Regards
Robert
setuid
well you said it don't work as "user" but as "root",
so you can cdrecord give the setuid-bit
and it will work as "root" even when you use it
as a "user". (That's a known workaround)
another way?
Is here another solution to write cd's with user?
Is setting setuid bit - secure way?
Burm
you can setuid the cdrecord f
you can setuid the cdrecord file but that has no efftect
it doesn't work anymore with 2.6.8.1
cdrecord's problem?
It's working, but only under root! :(
Is it only problem of cdrecord?
There was a security problem
There was a security problem with cdrom commands, users with write permission could damage the drive and other things, so they restricted which commands are allowed for non-root users. Burning a cd should still work though (formatting the cd probably not).
Make sure that you have write access to the cdrom device and use dev=/dev/cdrom instead of the 0,0,0 stuff.
Nothing can't help :(
>Make sure that you have write access to the cdrom device and use >dev=/dev/cdrom instead of the 0,0,0 stuff.
I have set all permissions to all users. I used /dev/hdc (and /dev/cdrom). This is no effect. With 2.6.8 I can write cds ony as root :(
all solution before have no effect.
F1! F1! F1!
GET CONFIGURATION MMC command is rejected by the kernel
i have it setuid and still cannot burn anything
and people from k3b recommend to not use 2.6.8:
http://k3b.plainblack.com/index.pl/news2
i'm back to 2.6.7
patch to restore the behaviour of previous kernels
http://marc.theaimsgroup.com/?l=linux-kernel&m=109265946604538&w=2
There is a very simple (and s
There is a very simple (and safe) solution for this problem. Just clear the suid from /usr/bin/cdrecord and you'll be fine.
No change. I remove setuid fl
No change. I remove setuid flag from cdrecord and cdrdao but k3b doesn't work
I'm using 2.6.9 and there's the same (wrong) behavior
I can't understand if this is a problem of kernel , of cdrtools or of k3b. In 2.6.7 eveything work fine and here I can't burn without beeing root. I'm using a slackware 10 with cdrtools 2.0.0.3 which is the last-before-the-last release. I wanna know if everybody has the same stange behavior of k3b. In the k3bsetup I've updated the permission creating the burning group. So in the normal user configuration I can see all my device correctly. Only when I try to burn a cd the combo box is empty instead k3b have recognize the device correctly.
I don't want to try to update my VERY STABLE slack putting on some beta software, so I decided to wait the next release of slack by Patrick ( I hope his healt will be better, at the moment he's ill :-( , good luck Patrick.) BYEZZZ
CD burning with 2.6.8/2.6.9 kernel - workaround
These kernels don't allow users to burn CDs even if cdrecord etc. are suid root. It makes no difference if you're using ide-scsi or ide-cdrom. You can work around this by using sudo. Add users and
relevant commands to /etc/sudoers using `visudo'
(see sudo and sudoers manpages).
eg. in /etc/sudoers:
username ALL=NOPASSWD:/usr/bin/cdrecord,/usr/bin/cdrdao
then in your .bashrc add these aliases:
alias cdrecord='sudo cdrecord'
alias cdrdao='sudo cdrdao'
This allows you to use cdrecord and cdrdao as a user without typing
`sudo' every time or being asked for a password. You'll have to do
the same with cdda2wav and cdparanoia if you use those too.
BTW I found that most of the CD burning programs apart from cdrecord
still don't recognise /dev/hdx so you still have to use ide-scsi and
the scsi device names.
I also had to use sudo to access my scanner as a user, even though
the hotplug scripts are setting the device permissions properly.
Now I can burn CDs and scan as a user but my sudoers and .bashrc
files are getting pretty large. Anyone know when these broken kernels are going to get fixed?
New cdrecord version works with 2.6.9
I just tried cdrecord 2.0+a38-1 from Debian Unstable and it works with the 2.6.9 kernel. If set suid root, users can now burn CDs without sudo.
BTW my previous comment about scanners not working was wrong - I forgot to add my user name to scanner group:(