Closed tillkamppeter closed 3 years ago
The only backend with wrong permissons was the "usb" backend as CUPS upstream assumes that root is not needed here because UDEV sets "lp" group ownership to the raw USB devices. This does not work in our CUPS Snap. Therefore the "usb" backend has to run as root. CUPS controls this by the executable permissions, if only the owner (which is root) can run it, it runs as root.
This I have preliminary implemented in commit 0dbc1fb.
The best solution is to do it in CUPS upstream, but I have to find out how to best do it there. Therefore I will not close this issue for now.
Solved in CUPS upstream, OpenPrinting/cups#121, workaround in the CUPS Snap removed.
Some CUPS backends (like "usb") need to run as root, they need to have execute permissions for non-root removed.