[Bug 268601] net/jotta-cli: jottad needs write access to etc/jottad

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Dec 2022 14:36:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268601

            Bug ID: 268601
           Summary: net/jotta-cli: jottad needs write access to etc/jottad
           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: vidar@karlsen.tech
                CC: trueos@norwegianrockcat.com
             Flags: maintainer-feedback?(trueos@norwegianrockcat.com)
                CC: trueos@norwegianrockcat.com

Created attachment 239066
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239066&action=edit
Add @dir etc/jottad to pkg-plist to fix ownership

The port creates etc/jottad as owned by root:root, and jottad does not have
access to write its configuration there.

When owned by jottad:jottad, everything seems to function as advertised.

The attached patch adds the dir to pkg-plist after the @owner and @group lines
to achieve this.

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