Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 17:03:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255009] www/gitea: do not chown existing directories
Message-ID:  <bug-255009-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255009

            Bug ID: 255009
           Summary: www/gitea: do not chown existing directories
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
                CC: stb@lassitu.de
                CC: stb@lassitu.de
             Flags: maintainer-feedback?(stb@lassitu.de)

Scenario:
- gitea installed
- setting gitea_user=3D"gitea" in /etc/rc.conf (i.e., running gitea not as =
user
git, but as user gitea)
- use /var/run/gitea/gitea.sock for communication
- upgrade gitea using a package created using portmaster

Result:
- on startup, gitea cannot create /var/run/gitea/gitea.sock anymore, and
therefore cannot be interacted with
- /var/db/gitea, /var/run/gitea, and /var/log/gitea are all owned by git
instead of gitea

Expected result:
- If the directories /var/db/gitea, /var/run/gitea, and /var/log/gitea alre=
ady
exist when installing their ownership shall not be changed.

-- Martin

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255009-7788>