[Bug 291912] www/mediawiki143: every upgrade breaks the cache folder

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Dec 2025 11:37:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291912

            Bug ID: 291912
           Summary: www/mediawiki143: every upgrade breaks the cache
                    folder
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: wen@FreeBSD.org
          Reporter: quentin.thebault@defenso.fr
             Flags: maintainer-feedback?(wen@FreeBSD.org)
          Assignee: wen@FreeBSD.org

On port/package install or upgrade, the ownership of the cache folder is reset
to root:wheel which does not let the application work if, like me, your php
server runs under user www, which I think is the default and recommended
behaviour.

The issue comes from this line:
https://codeberg.org/FreeBSD/freebsd-ports/src/commit/e29c92f4a30875e1a899364bb542c5be23ff6f50/www/mediawiki143/Makefile#L50.
It should come after setting ownership as www:www, like the images directory,
which works correctly.

This bug also affects other mediawiki ports. I checked 1.45 but most likely all
others too.

-- 
You are receiving this mail because:
You are the assignee for the bug.