FS#60011 - [hplip] Possible permissions error in the ppd directory

Attached to Project: Arch Linux
Opened by lol no (archprophetpippin) - Tuesday, 11 September 2018, 05:31 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 30 January 2019, 06:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I recently installed hplip 3.18.6-1 and its dependencies, I tried configuring a printer with hp-setup and that failed, as it couldn't read the .ppd file and running hp-check raised the warning:

warning: could not read ppd file from /usr/share/ppd/HP/hp-envy_4500_series.gz

and I couldn't print anything (the printer would just stay forever in the "processing" state).
Further investigation revealed that my user didn't have read permission on the /usr/share/ppd/HP directory but hp-print specifically doesn't like being run as superuser (for good reason). A simple `chmod -R a+r /usr/share/ppd/` fixed the issue but I think read permission for the ppd directory for users should ship with the package.

Additional info:
* package version: 3.18.6-1
* config and/or log files: N/A


Steps to reproduce:
Install hplip
Attempt to configure a printer with the HP ppds - fail
Check the read permissions on the .ppd file
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 30 January 2019, 06:53 GMT
Reason for closing:  Works for me
Comment by Andreas Radke (AndyRTR) - Saturday, 15 September 2018, 15:28 GMT
Rebuilding the pkg seem to have proper dir permission. Also if I install current pkg from the repo I don't get a bad dir permission either so it seems correct in that pkg too. Try to reinstall the pkg.

Loading...