On Sat, Feb 17, 2024 at 01:34:05PM +0100, Lothar Braun wrote: > I'm debugging a permission problem with the log files created by minidlna in > /var/log/minidlna. I'm trying to use a different username to run minidlna and > do not use the default user account minidlna. The problem is that log file > /var/log/minidlna/minidlna.log is created with the owner "minidlna" and does > not belong to the user that runs minidlna.
unicorn:~$ apt-cache search minidlna minidlna - lightweight DLNA/UPnP-AV server targeted at embedded systems There's a Debian package with this name. Are you using that? If so, the Debian package's postinst script probably created the log directory. If you need the log directory to be owned by a different user, just chown it yourself.