Not sure if this is the best place to ask this question but hopefully one of you will recognize this error and point me in the right direction. Recently, when I rebooted my NAS (Truenas Scale 24.10.1), I noticed that several of my torrents were checking disk files. I let them all finish and restarted my qbit container to see if it would happen again and it did (all the same torrents). I then checked the logs to find the following error for ALL active torrents:
[CRITICAL] Couldn’t save torrent resume data to “/app/qBittorrent/data/BT_backup/f2558a566bb891849869a573b706eef0b4394154.fastresume’. Error: Operation not permitted.”
To me this looks like a permission issue but as far as I can tell everything in the mounted dataset is owned by the apps user and should have permission to write to files. I would appreciate some help figuring this out as I think I’ve done all i can with my current level of knowledge.
Look at the dataset and if its ZFS aclmode property is set to RESTRICTED try changing it to PASSTHROUGH. The error means typically that permissions management through chmod is currently disabled (because it can break the file’s ACL), but your app wants to manage its own permissions in this way. Setting it to PASSTHROUGH will allow the chmod, but it may have unintended consequences on permissions.
That seems to have worked. This confuses me a little though since I never had the aclmode set to passthrough before and this container has been functioning perfectly fine for many months. Any ideas why this issue would come up now and not earlier?