Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#51931 - [lighttpd] Permission mismatch between .tmpfiles and PKGBUILD

Attached to Project: Arch Linux
Opened by Tinu Weber (ayekat) - Wednesday, 23 November 2016, 07:41 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 24 November 2016, 17:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No

Details

The PKGBUILD (and thus the package) installs /var/cache/lighttpd with access permissions 0700, but the installed lighttpd.tmpfiles sets the permissions for that directory to 0755. Consequently, at each subsequent upgrade, pacman detects a permission mismatch between the package and the filesystem version of that directory, and emits a warning.

Is there a reason why these two differ (and consequently cause a warning at each upgrade)?

Latest version checked: lighttpd-1.4.43-1
This task depends upon

Comment by Doug Newgard (Scimmia) - Thursday, 24 November 2016, 17:11 GMT
Since this dir is part of the package, the easiest thing would be to just remove it from the tmpfiles entry.
Comment by Tinu Weber (ayekat) - Tuesday, 16 May 2017, 08:34 GMT
Here is a patch that would apply the change suggested by Doug.

EDIT: On a second thought—this would probably break the automatic cleaning after 10 days. I've added another patch that would just fix the permissions in the tmpfiles line rather than remove it entirely.

Loading...