Implement the user and group options for etc files

This commit is contained in:
r-vdp 2025-02-04 16:00:54 +01:00
parent 744a170b65
commit daf3584e66
No known key found for this signature in database
5 changed files with 80 additions and 11 deletions

View file

@ -55,7 +55,7 @@
source = "/run/systemd/system/";
};
test_perms = {
with_ownership = {
text = ''
This is just a test!
'';
@ -63,6 +63,14 @@
uid = 5;
gid = 6;
};
with_ownership2 = {
text = ''
This is just a test!
'';
mode = "0755";
user = "nobody";
group = "users";
};
};
};