chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.04k stars 270 forks source link

sed: couldn't open temporary file /etc/pihole/sed1xOZrC: Permission denied #221

Open RamanMehat opened 9 months ago

RamanMehat commented 9 months ago

I am unable to update Upstream DNS Servers, when I do try to do so I get the following error:

'sed: couldn't open temporary file /etc/dnsmasq.d/sedDrThTG: Permission denied' Followed by: pihole-FTL: no process found Stopping pihole-FTL

M1ck0 commented 2 months ago

are you using docker-compose.yml? If you are here is the solution

... config

    volumes:
      - pihole_data:/etc/pihole/
      - dnsmasq_config:/etc/dnsmasq.d/

volumes:
  pihole_data:
  dnsmasq_config:

using named volumes will fix the issue