Config file navidrome.toml

Hello!

I want to change the configuration file of navidrome. But this is only possible with sudo, because the file permissions are -rw-r–r–. Is this intentional or is this a small configuration error?
The config and database files of beets for comparison have the rights -rw-rw-r–.

Many thanks for this AMAZING work!

That’s pretty much ok that sudo permission are needed to change configuration files. What a security issue if everybody could do that :slight_smile:

Btw: right after installation, permissions are set to 644 for both, toml as well as db file. Means, navidrome user would be the only one who could write to them.

root@DietPiR5S:~# ls -la /mnt/dietpi_userdata/navidrome
total 16
drwxr-xr-x 3 navidrome root   4096 Jan 22 12:43 .
drwxrwxr-x 7 dietpi    dietpi 4096 Jan 22 12:43 ..
drwxr-xr-x 3 navidrome dietpi 4096 Jan 22 12:43 data
-rw-r--r-- 1 navidrome root    349 Jan 22 12:43 navidrome.toml
root@DietPiR5S:~#
root@DietPiR5S:~# ls -la /mnt/dietpi_userdata/navidrome/data
total 2044
drwxr-xr-x 3 navidrome dietpi    4096 Jan 22 12:43 .
drwxr-xr-x 3 navidrome root      4096 Jan 22 12:43 ..
drwxr-xr-x 4 navidrome dietpi    4096 Jan 22 12:43 cache
-rw-r--r-- 1 navidrome dietpi    4096 Jan 22 12:43 navidrome.db
-rw-r--r-- 1 navidrome dietpi   32768 Jan 22 12:43 navidrome.db-shm
-rw-r--r-- 1 navidrome dietpi 2043552 Jan 22 12:43 navidrome.db-wal
root@DietPiR5S:~#

Thank you for the explanation.
I had not read correctly that the owner of the files is the user navidrome.