I have a raspi that is being used as a torrent box using qbittorrent and a user called qbtuser. I followed the offical qbittorent guide found at https://tinyurl.com/mr2mn7w5 to the letter and everything works fine except for qbittorrent is having trouble moving completed torrents into my chosen directory. I am using a network location mounted in /mnt/ using the following fstab entry:
//192.168.1.147/glamdring/Torrents /mnt/glamdring/torrents cifs credentials=/home/jamie/.smbcredentials,x-systemd.automount,iocharset=utf8,rw,uid=1002,gid=1002,vers=2.1 0 0
in the //192.168.1.147/glamdring/Torrents location there is a directory that previously existed called temp where incomplete torrents reside and once they're complete they should move up a level into the torrents directory itself. This does not happen and the completed torrent stays in the temp directory and when I configure qbittorent with no temp directory the download errors out.
I intentionally named the mnt directories similarly for ease of use. I have confirmed that the owner of /mnt/glamdring is qbtuser, the owner of /mnt/glamdring/torrents is qbtuser and the owner of /mnt/glamdring/torrents/temp is qbtuser
jamie@gimli:~ $ ls -lh /mnt
total 4.0K
drwxr-xr-x 3 root root 4.0K Feb 7 22:01 glamdring
jamie@gimli:~ $ ls -lh /mnt/glamdring
total 0
drwxr-xr-x 2 qbtuser qbtuser 0 Jan 25 21:56 torrents
jamie@gimli:~ $ ls -lh /mnt/glamdring/torrents
total 0
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:27 temp
jamie@gimli:~ $ ls -lh /mnt/glamdring/torrents/temp
total 27G
-rwxr-xr-x 1 qbtuser qbtuser 1.9K Jan 8 14:39
-rwxr-xr-x 1 qbtuser qbtuser 27G Feb 6 18:14
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 17:20
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:26
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:33
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:42
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 5 10:53
why can qbtuser not write to /mnt/glamdring/torrents even though qbtuser is the owner while being able to write to a directory nested with in /mnt/glamdring/torrents/temp
//192.168.1.147/glamdring/Torrents /mnt/glamdring/torrents cifs credentials=/home/jamie/.smbcredentials,x-systemd.automount,iocharset=utf8,rw,uid=1002,gid=1002,vers=2.1 0 0
in the //192.168.1.147/glamdring/Torrents location there is a directory that previously existed called temp where incomplete torrents reside and once they're complete they should move up a level into the torrents directory itself. This does not happen and the completed torrent stays in the temp directory and when I configure qbittorent with no temp directory the download errors out.
I intentionally named the mnt directories similarly for ease of use. I have confirmed that the owner of /mnt/glamdring is qbtuser, the owner of /mnt/glamdring/torrents is qbtuser and the owner of /mnt/glamdring/torrents/temp is qbtuser
jamie@gimli:~ $ ls -lh /mnt
total 4.0K
drwxr-xr-x 3 root root 4.0K Feb 7 22:01 glamdring
jamie@gimli:~ $ ls -lh /mnt/glamdring
total 0
drwxr-xr-x 2 qbtuser qbtuser 0 Jan 25 21:56 torrents
jamie@gimli:~ $ ls -lh /mnt/glamdring/torrents
total 0
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:27 temp
jamie@gimli:~ $ ls -lh /mnt/glamdring/torrents/temp
total 27G
-rwxr-xr-x 1 qbtuser qbtuser 1.9K Jan 8 14:39
-rwxr-xr-x 1 qbtuser qbtuser 27G Feb 6 18:14
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 17:20
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:26
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:33
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 8 20:42
drwxr-xr-x 2 qbtuser qbtuser 0 Feb 5 10:53
why can qbtuser not write to /mnt/glamdring/torrents even though qbtuser is the owner while being able to write to a directory nested with in /mnt/glamdring/torrents/temp
Statistics: Posted by tourdivide — Sun Feb 09, 2025 3:43 am