Temporary workaround for unionfs issues
The latest incarnations of unionfs have issues appending text via shell redirection, so to work around it, we can touch the file before-hand to move it to the RW portion of the union. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
bd6a5df0ab
commit
718a6d802d
|
@ -170,6 +170,7 @@ fi
|
|||
|
||||
if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then
|
||||
echo "allowing 'nobody' sudo rights in the chroot"
|
||||
touch "$uniondir/etc/sudoers"
|
||||
echo "nobody ALL=(ALL) NOPASSWD: ALL" >> "$uniondir/etc/sudoers"
|
||||
chmod 440 "$uniondir/etc/sudoers"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue