1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/nixos/modules/services/scheduling
Alex Brandt fdebbce726 nixos/modules/services/scheduling/fcron: add setuid to fcrontab
Without fcrontab being setuid, every attempt by an user in the fcron
group to edit their own crontab (via `fcrontab -e`) results in the
following error:

```
2018-05-06 11:29:07 ERROR could not change euid to 273: Operation not permitted
2018-05-06 11:29:07 ERROR fcron child aborted: this does not affect the main fcron daemon, but this may prevent a job from being run or an email from being sent.
```

Adding setuid by hand has resolved this issue and aligns with the way
fcrontab is installed on other distributions.
2018-05-06 11:24:09 -07:00
..
atd.nix nixos/atd: remove "batch" from setuid wrappers 2017-10-16 19:08:19 +02:00
chronos.nix chronos service: remove use of network-interfaces.target 2016-09-13 11:19:22 +02:00
cron.nix cron service: fix reliance on etc.timezone 2017-08-30 21:35:17 +02:00
fcron.nix nixos/modules/services/scheduling/fcron: add setuid to fcrontab 2018-05-06 11:24:09 -07:00
marathon.nix marathon service: remove use of network-interfaces.target 2016-09-13 11:19:22 +02:00