Implement the user and group options for etc files
This commit is contained in:
parent
744a170b65
commit
daf3584e66
5 changed files with 80 additions and 11 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue