FS#34266 - [hplip] 3.13.3 wrong permissions on /var/lib/hp -- plugin installation fails

Attached to Project: Arch Linux
Opened by Vyacheslav Stetskevych (tskevy) - Monday, 11 March 2013, 21:16 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 12 March 2013, 17:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I have an HP LaserJet P1102w, which is fully supported by HPLIP, but requires a binary plugin download.
The plugin installation succeeds. (Note: needs a hack, change /usr/bin/python to python2, does not work otherwise).
Right after the success message, I get an error message that plugin installation failed. Investigating this problem, I found this note:
https://wiki.archlinux.org/index.php/Cups#HPLIP_3.13:_Plugin_is_installed.2C_but_HP_Device_Manager_complains_it_is_not
Permissions on /var/lib/hp/hplip.state were fine, but permissions on /var/lib/hp/ were 644, and should have been 755 (it's a directory!).

FIX: chmod 755 /var/lib/hp

Please fix this in the package, in order not to confuse people this much. Thanks!
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 12 March 2013, 17:26 GMT
Reason for closing:  Not a bug
Additional comments about closing:  AUR pkg issue we don't support.
Comment by Andreas Radke (AndyRTR) - Tuesday, 12 March 2013, 17:26 GMT
/var/lib/hp is not part of the hplip pkg.

Checking the AUR hplip-plugin pkg that one create that directory. So blame the AUR pkg maintainer!

Loading...