Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Mar 2020 17:18:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244544] net-mgmt/netdata: Unbreak webui permissions when running netdata as root
Message-ID:  <bug-244544-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@freebsd.org
          Reporter: driesm.michiels@gmail.com
          Assignee: mmokhi@freebsd.org
             Flags: maintainer-feedback?(mmokhi@freebsd.org)

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

Re-add web files owner =3D netdataa and web files group =3D netdata to the =
default
config file. The default is root:wheel when not set. So if running as root =
user
(by setting netdata_user=3D"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.

--=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-244544-7788>