I executed this: chown -Rv root:dietpi /mnt/ext
Now the output shows:
drwxrwxr-x 8 root dietpi 4096 Dec 18 15:25 .
drwxr-xr-x 7 root root 4096 Dec 16 21:25 ..
drwxrwxr-x 3 root dietpi 4096 Dec 18 15:28 Backups
drwxrwxrwx 4 root dietpi 4096 Dec 18 15:30 Downloads
drwxrwxr-x 2 root dietpi 4096 Dec 17 01:08 Movies
drwxrwxr-x 2 root dietpi 4096 Dec 17 01:07 Pictures
drwxrwxr-x 2 root dietpi 4096 Dec 17 01:08 TV
drwxrwxr-x 2 root dietpi 16384 Dec 16 17:21 lost+found
Would that be correct? Now I would need to see how to add qBitorrent to dietpi group, right?
Qbittorrent and stalled downloads Topic is solved
Re: Qbittorrent and stalled downloads
something about groups https://www.howtogeek.com/50787/add-a-u ... -on-linux/
changing groups on file/folder https://linuxize.com/post/linux-chown-command/
changing groups on file/folder https://linuxize.com/post/linux-chown-command/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Qbittorrent and stalled downloads
Thanks, I think I did it now.
qbittorrent.service:
ls -la /mnt/ext/:
qbittorrent.service:
Code: Select all
[Unit]
Description=qBittorrent (DietPi)
Documentation=man:qbittorrent-nox(1)
Wants=network-online.target
After=network-online.target dietpi-boot.service
[Service]
User=dietpi
Group=dietpi
UMask=002
ExecStart=/usr/bin/qbittorrent-nox
Restart=on-failure
[Install]
WantedBy=multi-user.target
ls -la /mnt/ext/:
Code: Select all
drwxrwxr-x 8 root dietpi 4096 Dec 18 15:25 .
drwxr-xr-x 7 root root 4096 Dec 16 21:25 ..
drwxrwxr-x 3 root dietpi 4096 Dec 18 15:28 Backups
drwxrwxrwx 4 root dietpi 4096 Dec 18 15:30 Downloads
drwxrwxr-x 2 root dietpi 4096 Dec 17 01:08 Movies
drwxrwxr-x 2 root dietpi 4096 Dec 17 01:07 Pictures
drwxrwxr-x 2 root dietpi 4096 Dec 17 01:08 TV
drwxrwxr-x 2 root dietpi 16384 Dec 16 17:21 lost+found
Re: Qbittorrent and stalled downloads
usually it's not needed to change qbittorrent.service. It's totally fine to have it running as user qbittorrent. Important thing is to have user qbittorrent being a member of user group dietpi. This can be checked as follow
It should return dietpi as group membership.
Code: Select all
groups qbittorrent
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Qbittorrent and stalled downloads
Thank you Joulinar, it does return dietpi now 

Re: Qbittorrent and stalled downloads
if you like, you could remove 777 permission from Downloads folder an d set it to something like 664. This should give rw access
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team