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 Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Opened by Tinu Weber (ayekat) - Wednesday, 23 November 2016, 07:41 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
|
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
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/lighttpd/issues/1
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/lighttpd/issues/1
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.
cachedir2.patch (0.3 KiB)