From 75df988e1cb9863ee5d708dbc578f7690bb182de Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Dec 2026 03:50:16 +0000 Subject: 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. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.md') 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 -- cgit v1.3.1 [cgit] Unable to lock slot /tmp/cgit/9b100000.lock: Permission denied (13)