[Bug 259629] databases/mariadb104-client: pkg add / upgrade clobbers mode of /tmp

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Nov 2021 16:14:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259629

            Bug ID: 259629
           Summary: databases/mariadb104-client: pkg add / upgrade
                    clobbers mode of /tmp
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: wolfgang@lyxys.ka.sub.org
             Flags: maintainer-feedback?(brnrd@freebsd.org)
          Assignee: brnrd@freebsd.org

pkg add or upgrade for mariadb104-client from a poudriere-built repository
changes the mode of /tmp to drwxr-xr-x
This happens both for packages from the freebsd pkg repository and those built
on our own poudriere installation.

Checking the content of the package:
$ xzcat mariadb104-client-10.4.21_1.pkg | tar tvf - | tail -1
drwxr-xr-x  0 mysql  mysql       0 15 Okt. 14:31 /tmp/

If I create a package locally this does not happen:
$ pkg create mariadb104-client
Creating package for mariadb104-client-10.4.21_1
$ xzcat mariadb104-client-10.4.21_1.pkg | tar tvf - | tail -1
drwxrwxrwt  0 root   wheel       0  3 Nov. 17:10 /tmp/

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