services.transmission.downloadDirPermissions

NixOS option

If not null, is used as the permissions set by transmission-setup.service on the directories services.transmission.settings.download-dir, services.transmission.settings.incomplete-dir and services.transmission.settings.watch-dir. Note that you may also want to change services.transmission.settings.umask. Keep in mind, that if the default user is used, the home directory is locked behind a 750 permission, which affects all subdirectories as well. There are 3 ways to get around this: (Recommended) add the users that should have access to the group set by services.transmission.group Change services.transmission.settings.download-dir to be under a directory that has the right permissions Change systemd.services.transmission.serviceConfig.StateDirectoryMode to the same value as this option

type: null or string
Default
null
Example
"770"
declared in: nixos/modules/services/torrent/transmission.nixView source on NixOS/nixpkgs →