diff --git a/docs/Scripts.md b/docs/Scripts.md index 865958e54..5b6a67350 100644 --- a/docs/Scripts.md +++ b/docs/Scripts.md @@ -46,4 +46,17 @@ Scripts which have not yet been ported and may not work with the latest version: * https://github.com/jaboto/Transmission-script - (cron)script set network limits according to the number of clients in the network ## Security with systemd -`transmission-daemon`'s packaging has many permissions disabled as a standard safety measure. If your script needs more permissions than are provided by the default, users have [reported](https://github.com/transmission/transmission/issues/1951) that it can be resolved by changing to `NoNewPrivileges=false` in `/lib/systemd/system/transmission-daemon.service`. +`transmission-daemon`'s packaging has many permissions disabled as a standard safety measure. If your script needs more permissions than are provided by the default, users have [reported](https://github.com/transmission/transmission/issues/1951) that it can be resolved by changing to `NoNewPrivileges=false` using a systemd unit override. + +``` +$ sudo systemctl edit transmission-daemon.service +``` + +and add the following content to the override: + +``` +[Service] +NoNewPrivileges=false +``` + +and that override will be kept untouched by package upgrades.