[Bug 255009] www/gitea: do not chown existing directories

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 12 17:03:05 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255009

            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 at FreeBSD.org
          Reporter: d8zNeCFG at aon.at
                CC: stb at lassitu.de
                CC: stb at lassitu.de
             Flags: maintainer-feedback?(stb at lassitu.de)

Scenario:
- gitea installed
- setting gitea_user="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 already
exist when installing their ownership shall not be changed.

-- Martin

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


More information about the freebsd-ports-bugs mailing list