[Bug 244544] net-mgmt/netdata: Unbreak webui permissions when running netdata as root

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 1 17:18:42 UTC 2020


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

            Bug ID: 244544
           Summary: net-mgmt/netdata: Unbreak webui permissions when
                    running netdata as root
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mmokhi at freebsd.org
          Reporter: driesm.michiels at gmail.com
          Assignee: mmokhi at freebsd.org
             Flags: maintainer-feedback?(mmokhi at freebsd.org)

Created attachment 212079
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212079&action=edit
netdata.diff

Re-add web files owner = netdataa and web files group = netdata to the default
config file. The default is root:wheel when not set. So if running as root user
(by setting netdata_user="root"), and files are owner by netdata, netdata will
refuse to to serve these files since default ownership does not correspond to
installed files ownership.

Webui fails on: Access to file is not permitted:
/usr/local/share/netdata/web//index.html

When these variables are not set.

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


More information about the freebsd-ports-bugs mailing list