diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-06-28 17:45:36 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-06-28 17:47:35 +0200 |
commit | beeefb214a2dc8917b5a31945e740ecce4536764 (patch) | |
tree | f0dcb124e3d1c3763842c4119daf786fd222fce3 /demo | |
parent | 7c783a3b82b27033b86f75c018f991ffa59fa548 (diff) | |
download | seitan-beeefb214a2dc8917b5a31945e740ecce4536764.tar seitan-beeefb214a2dc8917b5a31945e740ecce4536764.tar.gz seitan-beeefb214a2dc8917b5a31945e740ecce4536764.tar.bz2 seitan-beeefb214a2dc8917b5a31945e740ecce4536764.tar.lz seitan-beeefb214a2dc8917b5a31945e740ecce4536764.tar.xz seitan-beeefb214a2dc8917b5a31945e740ecce4536764.tar.zst seitan-beeefb214a2dc8917b5a31945e740ecce4536764.zip |
cooker, seitan: Add support for GID/UID in context
Similarly to namespace specifications, the special value "caller", as
well as login/group names and numeric UID/GIDs are supported.
Example of usage in demo/mknod.hjson. Light on checks and with some
TODOs left behind at the moment.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'demo')
-rw-r--r-- | demo/mknod.hjson | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/mknod.hjson b/demo/mknod.hjson index 9124a8a..1936eb8 100644 --- a/demo/mknod.hjson +++ b/demo/mknod.hjson @@ -26,7 +26,7 @@ "major": 1, "minor": { "tag": { "get": "minor" } } }, - "context": { "mnt": "caller" } + "context": { "mnt": "caller", "uid": "caller", "gid": "caller" } }, "return": { "value": 0, "error": 0 } } |