diff options
| author | tv <tv@krebsco.de> | 2026-12-01 03:50:16 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-01 03:50:25 +0000 |
| commit | 75df988e1cb9863ee5d708dbc578f7690bb182de (patch) | |
| tree | 552afe68563d330888a1f06dfac87cc8339608df /CHANGELOG.md | |
| parent | 5df6e41e05b9449a964467bc11a9d7fce2d802ec (diff) | |
populate pipe: directory, a directory the command makes
A pipe source's command printed a file. With directory set, it gets an
empty directory as its first argument, mode 0700 in populate's temporary
directory, which populate removes afterwards, and fills it, and populate
delivers what it made there, with the modes it has, e.g. secrets with
mode 0600 under 0700, and the fixed time of pipe's output, compared by
checksum. Secrets that should stay in memory can go to a target
directory of their own, e.g. in /run, with a populate run of its own.
The scenario pipe-directory checks the modes, and that a changed
directory gets mirrored, removing what's not in it anymore.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c8f5829..9564113 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ nothing modified, untracked, or ignored, don't run any command on the target: the command that lists the file sources finds that out for them too, before delivering anything. +- A `pipe` source with `directory` set makes a directory: its command + fills an empty one, mode 0700, and populate delivers what it made, with + the modes it has. ## 2.0.0 |
