On 05/30/18 06:41, Rick Stevens wrote:
On 05/29/2018 02:19 PM, Robert Moskowitz wrote:
added to the cdrom group disconnected the DVD/RW, restarted K3B and still get the error. In device settings I see the message:
In order to give K3b full access to the writer device the current user needs be added to a group cdrom. The Permission helper that could do this for you was not enabled during build. Please rebuild the package with the Permission helper enabled or contact your distribution.
Me in groups is:
grep rgm group wheel:x:10:rgm cdrom:x:11:rgm rgm:x:1000:
Are you using the lightdm desktop manager and pam-kwallet? This may be related to the other issues this combination causes (seems like it's poking its nose into a lot of things).
That doesn't appear to be the problem. I am not running lightdm, running sddm and KDE. I'd not used my DVD drive since F27.
Put in a CD-RW disk and tried to blank it and it failed as a normal user who is also in the wheel group.
[egreshko@meimei ~]$ /usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=4 -tao driveropts=burnfree blank=fast TOC Type: 1 = CD-ROM /usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits. scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 /usr/bin/wodim: Cannot allocate memory. Cannot open SCSI driver! For possible targets try 'wodim --devices' or 'wodim -scanbus'. For possible transport specifiers try 'wodim dev=help'. For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from the wodim documentation.
Worked as root...
[root@meimei ~]# /usr/bin/wodim -v gracetime=2 dev=/dev/sr0 speed=4 -tao driveropts=burnfree blank=fast TOC Type: 1 = CD-ROM scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.5.27 Wodim version: 1.1.11 Driveropts: 'burnfree' SCSI buffer size: 64512 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'ASUS ' Identification : 'DRW-24D5MT ' Revision : '1.00' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x000A (CD-RW) Profile: 0x0015 (DVD-R/DL sequential recording) Profile: 0x0016 (DVD-R/DL layer jump recording) Profile: 0x002B (DVD+R/DL) Profile: 0x001B (DVD+R) Profile: 0x001A (DVD+RW) Profile: 0x0014 (DVD-RW sequential recording) Profile: 0x0013 (DVD-RW restricted overwrite) Profile: 0x0012 (DVD-RAM) Profile: 0x0011 (DVD-R sequential recording) Profile: 0x0010 (DVD-ROM) Profile: 0x000A (CD-RW) (current) Profile: 0x0009 (CD-R) Profile: 0x0008 (CD-ROM) (current) Profile: 0x0002 (Removable disk) 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 : 362208 = 353 KB Beginning DMA speed test. Set CDR_NODMATEST environment variable if device communication breaks or freezes immediately after that. Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Reference speed: 2 Is not unrestricted Is erasable ATIP start of lead in: -11940 (97:22/60) ATIP start of lead out: 335975 (74:41/50) 1T speed low: 0 (reserved val 0) 1T speed high: 4 2T speed low: 0 (reserved val 5) 2T speed high: 0 (reserved val 10) power mult factor: 3 5 recommended erase/write power: 2 A1 values: 02 3A A0 A2 values: 5A A6 14 Disk type: Phase change Manuf. index: 43 Manufacturer: Acer Media Technology, Inc. Speed set to 706 KB/s Starting to write CD/DVD at speed 4.0 in real BLANK mode for single session. Last chance to quit, starting real write in 0 seconds. Operation starts. Performing OPC... Blanking PMA, TOC, pregap Blanking time: 49.513s
Added user to cdrom group...
[egreshko@meimei ~]$ groups egreshko wheel cdrom systemd-journal libvirt wireshark vboxusers
And it still fails.