add o+x permission on service-state directories
this is needed for resolvconf, which writes resolv.conf as an output and wants to make it world-readable
This commit is contained in:
parent
ff2d3e1a63
commit
aecbe08f08
4 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@ writeText "service-fns.sh" ''
|
|||
output_path() { echo $(realpath $1/.outputs)/$2; }
|
||||
mkoutputs() {
|
||||
d=/run/service-state/$1
|
||||
mkdir -m 2750 -p $d && chown root:system $d
|
||||
mkdir -m 2751 -p $d && chown root:system $d
|
||||
echo $d
|
||||
}
|
||||
in_outputs() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue