Please follow the below template, it will help us to help you!
Expected Behaviour:
- Operating System (Family and Version): Raspian Lite
- Hardware: Rasperry Pi 4
Pihole should set the permissions to the .etag
file to pihole:pihole.
Actual Behaviour:
If you add a new list via web in pihole and update it using gravity update on console, the rights for the .etag
file under /etc/pihole/listsCache/
are set to root
(executing user).
If you update the list for the first time via the web, then everything is set correctly as pihole:pihole
.
It still works like a charm, but it looks inconsistent.
pi@pihole:~ $ ls -la /etc/pihole/listsCache/
total 161004
drwxrwxr-x 2 pihole pihole 4096 Jul 1 19:00 .
drwxrwxr-x 8 pihole pihole 4096 Jul 1 19:01 ..
-rw-rw-r-- 1 pihole pihole 4349265 Jul 1 19:00 list.2.big.oisd.nl.domains
-rw-r----- 1 pihole pihole 11 Jul 1 19:00 list.2.big.oisd.nl.domains.etag
-rw-rw-r-- 1 pihole pihole 92 Jul 1 19:00 list.2.big.oisd.nl.domains.sha1
-rw-rw-r-- 1 pihole pihole 3934630 Jul 1 19:00 list.3.raw.githubusercontent.com.domains
-rw-r----- 1 pihole pihole 69 Jul 1 19:00 list.3.raw.githubusercontent.com.domains.etag
-rw-rw-r-- 1 pihole pihole 106 Jul 1 19:00 list.3.raw.githubusercontent.com.domains.sha1
-rw-rw-r-- 1 pihole pihole 9217417 Jul 1 19:00 list.4.raw.githubusercontent.com.domains
-rw-r----- 1 pihole pihole 69 Jul 1 19:00 list.4.raw.githubusercontent.com.domains.etag
-rw-rw-r-- 1 pihole pihole 106 Jul 1 19:00 list.4.raw.githubusercontent.com.domains.sha1
-rw-rw-r-- 1 pihole pihole 72828665 Jul 1 19:00 list.5.raw.githubusercontent.com.domains
-rw-r--r-- 1 root root 69 Jul 1 19:00 list.5.raw.githubusercontent.com.domains.etag
-rw-rw-r-- 1 pihole pihole 106 Jul 1 19:00 list.5.raw.githubusercontent.com.domains.sha1
-rw-rw-r-- 1 pihole pihole 74481339 Jul 1 19:00 list.6.raw.githubusercontent.com.domains
-rw-r--r-- 1 root root 69 Jul 1 19:00 list.6.raw.githubusercontent.com.domains.etag
-rw-rw-r-- 1 pihole pihole 106 Jul 1 19:00 list.6.raw.githubusercontent.com.domains.sha1