I have osmc over a raspberry pi 3 and i use transmission for some downloads. When the download is completed it is automatically moved to a different folder. I use a script to change the owner of the downloaded files. This script needs privilege escalation so i use the well know method of using suid on a c executable that calls a root script. Works like a charm.
Recently i upgraded to rpi4 and did a fresh installation, the user debian-transmission does not seem to be able to execute said script or any elevation task. I even tried to add debian-transmission to sudoers, but nothing works.
I tried using the umask on /etc/transmission-daemon/settings.json, but doesnt work either.
It seems to me this is probably a standard problem for many users. I even though of downloading on a ntfs partition so as to get rid of the permissions.
Can anybody shed any light on my problem and/or show me a workaround?
Thanks a lot in advanc to y'all