AdguardTeam / AdguardTeam/AdGuardHome

Permission denied when first run AdGuard Home without superuser

Aperta
#7,170 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

FreeBSD, AMD64 (aka x86_64)

### Installation

GitHub releases or script from README

### Setup

On one machine

### AdGuard Home version

v0.107.52

### Action

Config file:
```
......
dns:
port: 5353
......
```

### Expected result

Succeed to run

### Actual result

```
2024/08/06 05:28:10 [info] AdGuard Home, version v0.107.52
2024/08/06 05:28:10 [info] service: control action: run
2024/08/06 05:28:10.712366 [info] AdGuard Home, version v0.107.52
2024/08/06 05:28:10.712387 [info] AdGuard Home is running as a service
2024/08/06 05:28:10.713052 [info] tls: using default ciphers
2024/08/06 05:28:10.713364 [fatal] initializing hosts container: hosts container: adding path: os watcher: permission denied
```

### Additional information and/or screenshots

Hello!
I do not have root privileges and need to initialize or directly start adguardhome as a non superuser
But I encountered a problem on freebsd, which prompted me with `hosts container: adding path: os viewer: permission denied`
I hope to receive a solution, thank you very much!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.