Bug 1906930

Summary: the web dir of netdata has wrong group
Product: [Fedora] Fedora Reporter: lingwangneuraleng
Component: netdataAssignee: Didier Fabert (tartare) <didier.fabert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: didier.fabert, thunderbirdtr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-08 02:51:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.