Den 27.12.2022 02:33, skrev Andrew Randrianasulu:
According to this bug
https://bugs.archlinux.org/task/67265
you can set up file capabilities on cdrecord binary during package
creation or later
I set as root
setcap
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep
/usr/bin/cdrecord
I have tried that setcap command, which seemingly solved the reported
permission issues, but not the burning fail problems.
I have also tried to setup K3b > Programs > Permissions as described on
the Manjaro forum here
https://forum.manjaro.org/t/k3b-can-t-burn-iso-image/3691
In my case:
ls -la /usr/bin/cdrecord
-rwxr-xr-x 1 root root 442160 nov. 23 2020 /usr/bin/cdrecord
# chmod 4711 /usr/bin/cdrecord
# chmod 4711 /usr/bin/cdrdao
# chmod 0750 /usr/bin/growisofs
# chown root:cdrom /usr/bin/cdrecord
# chown root:cdrom /usr/bin/cdrdao
# chown root:cdrom /usr/bin/growisofs
# ls -la /usr/bin/cdrecord
-rwx--x--x 1 root cdrom 442160 Nov 23 2020 /usr/bin/cdrecord
# ls -la /usr/bin/cdrdao
-rwx--x--x 1 root cdrom 646976 May 31 2018 /usr/bin/cdrdao
l# ls -la /usr/bin/growisofs
-rwxr-x--- 1 root cdrom 117792 Mar 31 2022 /usr/bin/growisofs
At first K3b did not longer get access to the writer, then ran the
setcap command again and got access.
But unhappily, the BD-R/RE DL disc burning issues still appear.......
and it seems to work
# getcap /usr/bin/cdrecord
/usr/bin/cdrecord
cap_dac_override,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio,cap_sys_admin,cap_sys_nice,cap_sys_resource=ep
===
guest@slax:~$ cdrecord --scanbus
Cdrecord-ProDVD-ProBD-Clone 3.02a09 (i686-pc-linux-gnu) Copyright (C)
1995-2016 Joerg Schilling
Linux sg driver version: 3.5.36
Using libscg version 'schily-0.9'.
scsibus0:
0,0,0 0) 'ATA ' 'WDC WD10EZEX-00B' '1A01' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus4:
4,0,0 400) *
4,1,0 401) 'PIONEER ' 'DVD-RW DVR-S21 ' 'PA01' Removable CD-ROM
4,2,0 402) *
4,3,0 403) *
4,4,0 404) *
4,5,0 405) *
4,6,0 406) *
4,7,0 407) *
====
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin