AdguardTeam / AdguardTeam/AdGuardHome

Permission denied when first run AdGuard Home without superuser

オープン
#7,170 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。