* [gentoo-user] cdrecord says permission denied
@ 2007-09-11 17:53 Renat Golubchyk
2007-09-11 18:04 ` Rafael Barrera Oro
0 siblings, 1 reply; 6+ messages in thread
From: Renat Golubchyk @ 2007-09-11 17:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3170 bytes --]
Hi folks!
For years I've been using cdrecord as a non-root user and without suid
bit set. Now it doesn't work any more. Here is the error message and
some other info:
========================================================================
$ cdrecord -eject -v -driveropts=burnproof -data dev=/dev/cdrw
bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright
(C) 1995-2007 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Driveropts: 'burnproof'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'QSI '
Identifikation : 'CDRW/DVD SBW-242'
Revision : 'UX08'
Device seems to be: Generic mmc2 DVD-ROM.
Current: CD-RW
Profile: DVD-ROM
Profile: CD-ROM
Profile: CD-R
Profile: CD-RW (current)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R
Drive buf size : 1959936 = 1914 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 455 MB
Total size: 522 MB (51:47.76) = 233082 sectors
Lout start: 523 MB (51:49/57) = 233082 sectors
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl.
cdrecord: Operation not permitted. Cannot open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
$ ll /dev/cdr*
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw -> hdc
$ ll /dev/hdc
brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc
$ groups
adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
========================================================================
I can't find anything, neither in the ChangeLogs (ebuild or cdrtools)
nor on the forums/bugzilla. Everybody seems to like the idea of burning
CDs with root permissions. Can anybody point me in the right direction?
Thanks,
Renat
--
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
(Einstein)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cdrecord says permission denied
2007-09-11 17:53 [gentoo-user] cdrecord says permission denied Renat Golubchyk
@ 2007-09-11 18:04 ` Rafael Barrera Oro
2007-09-11 19:19 ` Renat Golubchyk
0 siblings, 1 reply; 6+ messages in thread
From: Rafael Barrera Oro @ 2007-09-11 18:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3420 bytes --]
did you try adding yourself to the cdrom group?
2007/9/11, Renat Golubchyk <ragermany@gmx.net>:
>
> Hi folks!
>
> For years I've been using cdrecord as a non-root user and without suid
> bit set. Now it doesn't work any more. Here is the error message and
> some other info:
>
> ========================================================================
> $ cdrecord -eject -v -driveropts=burnproof -data dev=/dev/cdrw
> bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso
> cdrecord: No write mode specified.
> cdrecord: Asuming -sao mode.
> cdrecord: If your drive does not accept -sao, try -tao.
> cdrecord: Future versions of cdrecord may have different drive
> dependent defaults.
> Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright
> (C) 1995-2007 Jörg Schilling
> TOC Type: 1 = CD-ROM
> cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
> limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
> cdrecord: Permission denied. WARNING: Cannot set priority using
> setpriority().
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> scsidev: '/dev/cdrw'
> devname: '/dev/cdrw'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.9'.
> Driveropts: 'burnproof'
> SCSI buffer size: 64512
> atapi: 1
> Device type : Removable CD-ROM
> Version : 0
> Response Format: 2
> Capabilities :
> Vendor_info : 'QSI '
> Identifikation : 'CDRW/DVD SBW-242'
> Revision : 'UX08'
> Device seems to be: Generic mmc2 DVD-ROM.
> Current: CD-RW
> Profile: DVD-ROM
> Profile: CD-ROM
> Profile: CD-R
> Profile: CD-RW (current)
> Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
> Driver flags : MMC-3 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
> RAW/R96R
> Drive buf size : 1959936 = 1914 KB
> FIFO size : 4194304 = 4096 KB
> Track 01: data 455 MB
> Total size: 522 MB (51:47.76) = 233082 sectors
> Lout start: 523 MB (51:49/57) = 233082 sectors
> cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl.
> cdrecord: Operation not permitted. Cannot open or use SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
> are root.
> cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
>
> $ ll /dev/cdr*
> lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom -> hdc
> lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw -> hdc
>
> $ ll /dev/hdc
> brw-rw---- 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc
>
> $ groups
> adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
> ========================================================================
>
> I can't find anything, neither in the ChangeLogs (ebuild or cdrtools)
> nor on the forums/bugzilla. Everybody seems to like the idea of burning
> CDs with root permissions. Can anybody point me in the right direction?
>
>
> Thanks,
> Renat
>
> --
> Probleme kann man niemals mit derselben Denkweise loesen,
> durch die sie entstanden sind.
> (Einstein)
>
>
[-- Attachment #2: Type: text/html, Size: 4281 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cdrecord says permission denied
2007-09-11 18:04 ` Rafael Barrera Oro
@ 2007-09-11 19:19 ` Renat Golubchyk
2007-09-11 19:32 ` Rafael Barrera Oro
2007-09-11 21:27 ` Stephen Wittig
0 siblings, 2 replies; 6+ messages in thread
From: Renat Golubchyk @ 2007-09-11 19:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
On Tue, 11 Sep 2007 15:04:04 -0300 "Rafael Barrera Oro"
<borafael@gmail.com> wrote:
> did you try adding yourself to the cdrom group?
I *am* in the cdrom group, as I have already wrote.
> > $ groups
> > adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
> > ========================================================================
Renat
--
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
(Einstein)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cdrecord says permission denied
2007-09-11 19:19 ` Renat Golubchyk
@ 2007-09-11 19:32 ` Rafael Barrera Oro
2007-09-11 21:27 ` Stephen Wittig
1 sibling, 0 replies; 6+ messages in thread
From: Rafael Barrera Oro @ 2007-09-11 19:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 614 bytes --]
sorry, missed it
2007/9/11, Renat Golubchyk <ragermany@gmx.net>:
>
> On Tue, 11 Sep 2007 15:04:04 -0300 "Rafael Barrera Oro"
> <borafael@gmail.com> wrote:
> > did you try adding yourself to the cdrom group?
>
> I *am* in the cdrom group, as I have already wrote.
>
> > > $ groups
> > > adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
> > >
> ========================================================================
>
>
> Renat
>
> --
> Probleme kann man niemals mit derselben Denkweise loesen,
> durch die sie entstanden sind.
> (Einstein)
>
>
[-- Attachment #2: Type: text/html, Size: 1183 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cdrecord says permission denied
2007-09-11 19:19 ` Renat Golubchyk
2007-09-11 19:32 ` Rafael Barrera Oro
@ 2007-09-11 21:27 ` Stephen Wittig
2007-09-11 22:31 ` Renat Golubchyk
1 sibling, 1 reply; 6+ messages in thread
From: Stephen Wittig @ 2007-09-11 21:27 UTC (permalink / raw
To: gentoo-user
The only things that I can guess are that it is trying to update
something in "/proc" or it needs to load a kernel module before
writing.
Just for fun - try burning a disk as root. Then try burning another
dist as a non-root user. If the the second disk burns then one or the
other of the above is the problem.
-Good Luck, Stephen
On 9/11/07, Renat Golubchyk <ragermany@gmx.net> wrote:
> On Tue, 11 Sep 2007 15:04:04 -0300 "Rafael Barrera Oro"
> <borafael@gmail.com> wrote:
> > did you try adding yourself to the cdrom group?
>
> I *am* in the cdrom group, as I have already wrote.
>
> > > $ groups
> > > adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
> > > ========================================================================
>
>
> Renat
>
> --
> Probleme kann man niemals mit derselben Denkweise loesen,
> durch die sie entstanden sind.
> (Einstein)
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] cdrecord says permission denied
2007-09-11 21:27 ` Stephen Wittig
@ 2007-09-11 22:31 ` Renat Golubchyk
0 siblings, 0 replies; 6+ messages in thread
From: Renat Golubchyk @ 2007-09-11 22:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 798 bytes --]
On Tue, 11 Sep 2007 16:27:15 -0500 "Stephen Wittig" <nofx911@gmail.com>
wrote:
> The only things that I can guess are that it is trying to update
> something in "/proc" or it needs to load a kernel module before
> writing.
Why would cdrecord want to update anything in /proc? There is no
informatiom that cdrecord uses. And by the way, strace didn't show
anything helpful.
> Just for fun - try burning a disk as root. Then try burning another
> dist as a non-root user.
I can not burn CDs as a non-root user (i.e. unprivileged; I can burn
with sudo). That's why I wrote the email in the first place. ;-)
Cheers,
Renat
--
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
(Einstein)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-09-11 22:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 17:53 [gentoo-user] cdrecord says permission denied Renat Golubchyk
2007-09-11 18:04 ` Rafael Barrera Oro
2007-09-11 19:19 ` Renat Golubchyk
2007-09-11 19:32 ` Rafael Barrera Oro
2007-09-11 21:27 ` Stephen Wittig
2007-09-11 22:31 ` Renat Golubchyk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox