services.transmission.downloadDirPermissions
If not null, is used as the permissions
set by system.activationScripts.transmission-daemon
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.StateDirectoryModeto the same value as this option
- Type
null or string- Default
null- Example
"770"- Declared
- <nixpkgs/nixos/modules/services/torrent/transmission.nix>