forked from ungleich-public/cdist
__acl: add messaging
This commit is contained in:
parent
c7e6109462
commit
186ce77bb2
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,7 @@ then
|
||||||
no_bits="$( echo "$acl" | sed 's/:...$//' )"
|
no_bits="$( echo "$acl" | sed 's/:...$//' )"
|
||||||
|
|
||||||
echo "$setfacl_exec -x \"$no_bits\" \"$acl_path\""
|
echo "$setfacl_exec -x \"$no_bits\" \"$acl_path\""
|
||||||
|
echo "removed '$no_bits'" >> "$__messages_out"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -116,6 +117,7 @@ do
|
||||||
echo "setting default ACL in $os is currently not supported. sorry :(" >&2
|
echo "setting default ACL in $os is currently not supported. sorry :(" >&2
|
||||||
else
|
else
|
||||||
echo "$setfacl_exec -m \"$acl\" \"$acl_path\""
|
echo "$setfacl_exec -m \"$acl\" \"$acl_path\""
|
||||||
|
echo "added '$acl'" >> "$__messages_out"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue