archlinux and I use the systemd
transmission.service for downloading torrents. I have an
ext4 hard-disk partition automatically mounted with
/var/lib/transmission. I keep there all the completed downloads and I share that directory with a samba server on the local network.
The problem is that every time the computer boots, I can see
/var/lib/transmission doesn't have read permissions for everyone. It means the samba server can't read the full path to that directory and ultimately I can't access the files with a samba client. After boot I can run
sudo chmod a+rX /var/lib/transmission and only then the directory is accessible. It seems like
transmission rewrites the permissions
drwxr-x--- every boot.
Is there an elegant way to edit some systemd files and fix it? Perhaps using
sudo systemctl edit transmission.service?