When using systemd_tmpfilesd_managed also grant directory permissions
This allows systemd-tmpfilesd to create files inside directories belonging to the subject domain. Signed-off-by: Krzysztof Nowicki <krissn@op.pl>
This commit is contained in:
parent
0111384000
commit
b30437e487
|
@ -1174,6 +1174,7 @@ interface(`systemd_tmpfilesd_managed',`
|
|||
type systemd_tmpfiles_t;
|
||||
')
|
||||
|
||||
allow systemd_tmpfiles_t $1:dir list_dir_perms;
|
||||
allow systemd_tmpfiles_t $1:$2 { setattr relabelfrom relabelto create };
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in New Issue