Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1906930 - the web dir of netdata has wrong group
Summary: the web dir of netdata has wrong group
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: netdata
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Didier Fabert (tartare)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-11 19:55 UTC by lingwangneuraleng
Modified: 2021-02-14 01:23 UTC (History)
2 users (show)

Fixed In Version: netdata-1.28.0-2.fc32 netdata-1.28.0-2.el7 netdata-1.29.0-1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-08 02:51:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description lingwangneuraleng 2020-12-11 19:55:58 UTC
Description of problem:
`/usr/share/netdata/web` has wrong group. expects netdata gets root
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. #dnf remove netdata
2. #rm -rf /usr/share/netdata
3. #dnf install netdata
4. stat -c "%U:%G" /usr/share/netdata/web

Actual results:
```
root:root
```

Expected results:
root:netdata

Additional info:

Comment 1 Didier Fabert (tartare) 2020-12-22 14:40:24 UTC
I don't see where the problem is. What is the benefit ?

Comment 2 lingwangneuraleng 2020-12-23 16:14:37 UTC
@tartare THe problem here is: the netdata.conf by default set group to netdata. But the web dir does not match that. If you use netdata install script, you can see it actually change the permission of the web dir to whatever default one you set during configure.

Comment 3 Fedora Update System 2020-12-30 22:06:40 UTC
FEDORA-2020-3aeb48f300 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3aeb48f300

Comment 4 Fedora Update System 2020-12-30 22:06:51 UTC
FEDORA-2020-528fabf141 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-528fabf141

Comment 5 Fedora Update System 2020-12-31 01:00:06 UTC
FEDORA-2020-528fabf141 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2020-528fabf141 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-528fabf141

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-12-31 01:03:32 UTC
FEDORA-2020-3aeb48f300 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2020-3aeb48f300 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3aeb48f300

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-12-31 12:29:13 UTC
FEDORA-EPEL-2020-a4706d1c4a has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-a4706d1c4a

Comment 8 Fedora Update System 2021-01-01 01:30:29 UTC
FEDORA-EPEL-2020-a4706d1c4a has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-a4706d1c4a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Onuralp SEZER 2021-01-01 12:04:28 UTC
Fedora 33 / netdata-1.28.0-2.fc33.x86_64  

I started the service and open website and that is it. I had to change "netdata" as well. or I can change ".conf" make "root:root" but default file permission needs to be "root:netdata" as well. 

"Access to file is not permitted: /usr/share/netdata/web//index.html"

Comment 10 lingwangneuraleng 2021-01-04 15:03:23 UTC
what happens to EPEL 8 testing repository? Is there any reason why EPEL 8 do not get this update?

Comment 11 Fedora Update System 2021-01-08 02:51:11 UTC
FEDORA-2020-528fabf141 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2021-01-16 00:44:14 UTC
FEDORA-EPEL-2020-a4706d1c4a has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2021-02-06 02:13:27 UTC
FEDORA-2021-37384aa413 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-37384aa413 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-37384aa413

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2021-02-14 01:23:03 UTC
FEDORA-2021-37384aa413 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.