[Toybox] update-crontab-ownership
Rob Landley
rob at landley.net
Thu Jul 24 19:32:06 PDT 2025
On 7/24/25 01:15, Tai Groot wrote:
> There is a corresponding PR on GitHub
> <https://github.com/landley/toybox/pull/556>. Feel free to close, or I can
> after this is merged (or rejected).
I merged it, I just had to stare at it a bit to figure out what was
going on because I'm not a big cron user (there used to be a tool called
"at" I mostly used instead), and I edit the cron job files with "vi"
when I do.
The last time I had to fiddle with crontab was on sunos machines
(pre-solaris!) back in college. If cron parses per-user files I'd expect
them to be ~/.crontab or similar in each user directory. (That's how
sshd and friends work.) A command to edit a file under /etc on a user's
behalf for a daemon is just weird, and then those files having ownership
to be accessible to something other than the daemon running the tool
when it says "DO NOT EDIT" at the top... Ok? I'll assume you as a user
of this tool known more about what success looks like than I do here.
(That's why this part is still in pending. It's not code review, it's
figuring out what the designers intended.)
Rob
More information about the Toybox
mailing list