Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

graveur et droits

2 réponses
Avatar
NaiosKAE{FR}
Bonjour,

il y avait quelques temps que je n'avai pas gravé, tout fonctionnait
parfaitement,

mais voilà ce matin j'ai été obligé de graver en root et je ne comprend
pas pourquoi.

$ id moi
uid=1000(naios) gid=1000(naios)
groupes=1000(naios),7(lp),24(cdrom),25(floppy),29(audio),40(src),44(video),46(plugdev),50(staff),60(games),108(lpadmin),111(camera),112(scanner),1004(photos),114(fuse)

$ ls -ali /dev/hdd
5804 brw-rw---- 1 root cdrom 22, 64 2005-11-29 18:30 /dev/hdd

$ cdrecord -scanbus dev=/dev/hdd
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of
cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to
<cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.12amd64
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1
'@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J.
Schilling').
scsibus1:
1,0,0 100) *
1,1,0 101) 'TSSTcorp' 'CD/DVDW TS-H552U' 'US02' Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

$ cdrecord speed=40 dev=ATA:1,1,0 -data cd_ll.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent
defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of
cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to
<cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.12amd64
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
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: 'ATA:1,1,0'
devname: 'ATA'
scsibus: 1 target: 1 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1
'@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J.
Schilling').
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CD/DVDW TS-H552U'
Revision : 'US02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support
code.
cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on
DVD support.
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
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl

je suis en debian etch, des pistes ?

merci

--
Erwann PENCREACH

On faisait la queue, hier, en face du trou de la place de la Motte.
-+- La Montagne, 01/10/1995 -+-


--
Pensez

2 réponses

Avatar
Naha
NaiosKAE{FR} a écrit :

Bonjour,



'soir.


il y avait quelques temps que je n'avai pas gravé, tout fonctionnait
parfaitement,

mais voilà ce matin j'ai été obligé de graver en root et je ne
comprend pas pourquoi.



Vérifie si le bit SUID est activé sur cdrecord. Tu peux faire ça sans te
compliquer la vie avec un dpkg-reconfigure cdrecord


$ id moi
uid00(naios) gid00(naios)
groupes00(naios),7(lp),24(cdrom),25(floppy),29(audio),40(src),44(video),46(plugdev),50(staff),60(games),108(lpadmin),111(camera),112(scanner),1004(photos),114(fuse)


$ ls -ali /dev/hdd
5804 brw-rw---- 1 root cdrom 22, 64 2005-11-29 18:30 /dev/hdd

$ cdrecord -scanbus dev=/dev/hdd
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of
cdrecord
and thus may have bugs that are not present in the original
version.
Please send bug reports and support requests to
.
The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.12amd64
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or
Solaris.
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright
1988,1995,2000-2004 J. Schilling').
scsibus1:
1,0,0 100) *
1,1,0 101) 'TSSTcorp' 'CD/DVDW TS-H552U' 'US02' Removable
CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

$ cdrecord speed@ dev=ATA:1,1,0 -data cd_ll.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of
cdrecord
and thus may have bugs that are not present in the original
version.
Please send bug reports and support requests to
.
The original author should not be bothered with problems of this
version.

cdrecord: Warning: Running on Linux-2.6.12amd64
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or
Solaris.
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: 'ATA:1,1,0'
devname: 'ATA'
scsibus: 1 target: 1 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright
1988,1995,2000-2004 J. Schilling').
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CD/DVDW TS-H552U'
Revision : 'US02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW
support code.
cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on
DVD support.
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
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl

je suis en debian etch, des pistes ?

merci




--
)( | |_ [] Y || / |-| /


--
Pensez
Avatar
NaiosKAE{FR}
Naha a écrit :
NaiosKAE{FR} a écrit :

Bonjour,




'soir.


il y avait quelques temps que je n'avai pas gravé, tout fonctionnait
parfaitement,

mais voilà ce matin j'ai été obligé de graver en root et je ne
comprend pas pourquoi.




Vérifie si le bit SUID est activé sur cdrecord. Tu peux faire ça sans te
compliquer la vie avec un dpkg-reconfigure cdrecord




ok merci, j'essaye de suite


--
Erwann PENCREACH

Magnifique Walbrzych juxtapose vodka
-- Esposito-Farese, Gilles ; Kaeser, Pascal


--
Pensez