Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Wrong file ownership #44

Open
yscialom opened this issue Apr 10, 2022 · 7 comments · Fixed by #51
Open

Bug: Wrong file ownership #44

yscialom opened this issue Apr 10, 2022 · 7 comments · Fixed by #51
Assignees
Labels
complexity:L type:bug Something isn't working

Comments

@yscialom
Copy link
Owner

github-action-runner:/opt/home/pinanas$ rm -rf -- *
[...]
github-action-runner:/opt/home/pinanas$ find -type f -exec ls -l {} \;
-rw-r--r--    1 root     root        879468 Apr  3 22:21 ./adguardhome/data/filters/1.txt
-rw-r--r--    1 root     root           553 Apr  3 22:47 ./nextcloud/config/crontabs/root
@yscialom yscialom added type:bug Something isn't working status:analysis labels Jun 21, 2022
@yscialom yscialom self-assigned this Jul 5, 2022
@yscialom
Copy link
Owner Author

yscialom commented Jul 5, 2022

$ find adguardhome authelia database dhcpd docker-compose.yml heimdall netdata nextcloud traefik  -exec stat -c "%n:%u:%g" {} \; | grep -vE ':1000:(1000|117)$'
adguardhome/config/AdGuardHome.yaml:0:0
adguardhome/data/stats.db:0:0
adguardhome/data/filters:0:0
adguardhome/data/filters/1.txt:0:0
adguardhome/data/sessions.db:0:0
adguardhome/data/querylog.json:0:0
database/data/custom-services.d:0:0
database/data/custom-cont-init.d:0:0
dhcpd/data/dhcpd.leases~:0:0
dhcpd/data/dhcpd.leases:0:0
dhcpd/data/dhcpd.conf:0:0
dhcpd/cgroup:0:0
heimdall/config/custom-services.d:0:0
heimdall/config/custom-cont-init.d:0:0
netdata:0:0
netdata/config:0:0
nextcloud/config/custom-services.d:0:0
nextcloud/config/custom-cont-init.d:0:0
nextcloud/config/log/logrotate.status:0:0


@yscialom
Copy link
Owner Author

yscialom commented Jul 5, 2022

@yscialom yscialom linked a pull request Jul 9, 2022 that will close this issue
yscialom added a commit that referenced this issue Jul 9, 2022
* Fix database, heimdall and nextcloud
* Fix netdata
@yscialom
Copy link
Owner Author

yscialom commented Jul 9, 2022

All but dhcp & authelia fixed by #51.

@yscialom yscialom reopened this Jul 9, 2022
@yscialom
Copy link
Owner Author

yscialom commented Nov 2, 2022

dhcpd should be fixed, to be tested.

@yscialom
Copy link
Owner Author

yscialom commented Nov 2, 2022

dhcpd fixed
adguardhome & netdata still problematics

rm: cannot remove 'dist/adguardhome/data/filters/1.txt': Permission denied
rm: cannot remove 'dist/netdata/data/.environment': Permission denied
rm: cannot remove 'dist/netdata/data/orig': Permission denied
rm: cannot remove 'dist/netdata/data/.install-type': Permission denied
rm: cannot remove 'dist/netdata/data/netdata.conf': Permission denied
rm: cannot remove 'dist/netdata/data/charts.d': Permission denied
rm: cannot remove 'dist/netdata/data/health.d': Permission denied
rm: cannot remove 'dist/netdata/data/custom-plugins.d': Permission denied
rm: cannot remove 'dist/netdata/data/go.d': Permission denied
rm: cannot remove 'dist/netdata/data/statsd.d': Permission denied
rm: cannot remove 'dist/netdata/data/ssl': Permission denied
rm: cannot remove 'dist/netdata/data/ebpf.d': Permission denied
rm: cannot remove 'dist/netdata/data/python.d': Permission denied

@yscialom
Copy link
Owner Author

yscialom commented Nov 5, 2022

AS of commit 4541836 (develop), Fri Nov 4 21:53:20 2022 +0100:

$ find . -exec stat -c "%n:%u:%g" {} \; | grep -vE ':1000:(1000|117)$'
./adguardhome/data/filters/1.txt:0:0
./adguardhome/config/AdGuardHome.yaml:0:0
./database/config/custom-services.d:0:0
./database/config/databases:0:0
./database/config/log:0:0
./database/config/custom-cont-init.d:0:0
./netdata/data:0:0
./netdata/data/edit-config:0:0
./netdata/data/netdata.conf:0:0
./netdata/data/.install-type:0:0
./netdata/data/python.d:0:0
./netdata/data/ebpf.d:0:0
./netdata/data/.environment:0:0
./netdata/data/ssl:0:0
./netdata/data/health.d:0:0
./netdata/data/charts.d:0:0
./netdata/data/orig:0:0
./netdata/data/go.d:0:0
./netdata/data/statsd.d:0:0
./netdata/data/custom-plugins.d:0:0
./heimdall/config/custom-services.d:0:0
./heimdall/config/custom-cont-init.d:0:0

@yscialom yscialom changed the title Wrong file ownership Bug: Wrong file ownership Nov 26, 2022
@yscialom yscialom modified the milestone: PiNanas 0.9.0 Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity:L type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant