[k3b] [Bug 462719] New: k3b should check device ACLs before warning about needing full access to device nodes
David Korth
bugzilla_noreply at kde.org
Tue Dec 6 19:35:31 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=462719
Bug ID: 462719
Summary: k3b should check device ACLs before warning about
needing full access to device nodes
Classification: Applications
Product: k3b
Version: 22.08.3
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: general
Assignee: k3b at kde.org
Reporter: gerbilsoft at gerbilsoft.com
CC: michalm at jabster.pl, trueg at kde.org
Target Milestone: ---
On my system, when connecting a USB optical drive (Pioneer BDR-XD07B), K3b's
Optical Devices settings shows the following warning:
"In order to give K3b full access to the writer device the current user needs
be added to a group cdrom."
/dev/sr0's permissions:
brw-rw----+ 1 root cdrom 11, 0 Dec 6 14:29 /dev/sr0
The device node also has an ACL set that grants my user account full access:
$ getfacl /dev/sr0
getfacl: Removing leading '/' from absolute path names
# file: dev/sr0
# owner: root
# group: cdrom
user::rw-
user:david:rw-
group::rw-
mask::rw-
other::---
K3b should check if the device node has a matching ACL and, if so, suppress the
warning about not being in the cdrom group.
STEPS TO REPRODUCE
1. Have /dev/sr0 with the above permissions and similar ACL.
OBSERVED RESULT
K3b warns that the user needs to be in the cdrom group for full access.
EXPECTED RESULT
K3b should not show a warning, since the user has full access due to the ACL.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100
Qt Version: 5.15.7
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the k3b
mailing list