Can't move files from download dir because owner is root

Get help, report and discuss bugs.
Post Reply
buggy13
Posts: 33
Joined: 07 Sep 2014, 12:20

Can't move files from download dir because owner is root

Post by buggy13 » 14 Aug 2022, 17:22

I installed a new raspberry OS bullseye on my raspberry pi and the last version of nzbget. i had this before with the old raspberry pi os buster. now when i download files all works fine but the owner of the files in the download dir (=> /media/usb) is root and i can't move or delete the files from my ubuntu desktop using samba. why is root the owner when nzbget is running as user 'pi'? i use this autostart-script.

Code: Select all

[Unit]
Description=NZBGet Daemon
Wants=network-online.target
After=network-online.target

[Service]
Type=forking
ExecStartPre=/bin/sleep 30
ExecStart=/home/pi/.bin/nzbget/nzbget -D
ExecStop=/home/pi/.bin/nzbget/nzbget -Q
ExecReload=/home/pi/.bin/nzbget/nzbget -O
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests