-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0.z
-
None
-
cups-2.3.3op2-26.el9
-
None
-
Moderate
-
rhel-sst-cs-stacks
-
ssg_core_services
-
14
-
1
-
False
-
-
None
-
None
-
-
Pass
-
Enabled
-
Automated
-
None
What were you trying to do that didn't work?
with lpoption command, options are written to ~/.cups/lpinfo instead of /etc/cups/lpoption
Please provide the package NVR for which bug is seen:
cups-2.3.3-op2-21.el9
How reproducible:
Always
Steps to reproduce
- Add a printer
# lpadmin -p test -E -v file:/dev/null
- Use lpoption:
# lpoptions -d test
Expected results:
As per manpage
When run by the root user, lpoptions gets and sets default options and instances for all users in the /etc/cups/lpoptions file. Otherwise, the per-user defaults are managed in the ~/.cups/lpoptions file.
Actual results
- Options written to /root/.cups/lpoptions instead of /etc/cups/printer
- links to
-
RHBA-2024:131862 cups update