On Thu, Oct 13, 2016 at 06:41:53PM +0200, Wolfgang Schweer wrote: > I have no idea where the wrong permissions come from. This seems to be caused by ltsp-build-client/Debian/005-tmpdir; /tmp inherits the wrong permissions.
With 005-tmpdir removed, installation succeeds; the chroot's /tmp dir
has the correct permissions 1777.
Also, this seems to work:
diff --git a/server/share/ltsp/plugins/ltsp-build-client/Debian/005-tmpdir
b/server/share/ltsp/plugins/ltsp-build-client/Debian/005-tmpdir
index a18a225..d52c535 100644
--- a/server/share/ltsp/plugins/ltsp-build-client/Debian/005-tmpdir
+++ b/server/share/ltsp/plugins/ltsp-build-client/Debian/005-tmpdir
@@ -7,7 +7,7 @@ case $MODE in
mkdir -p "$ROOT/$dir"
# set permissions of dir
# FIXME: handle permissions of intermediate dirs, too
- chmod --reference $dir "$ROOT/$dir"
+ chmod 1777 "$ROOT/$dir"
fi
done
;;
But either change might have sideeffects...
Wolfgang
signature.asc
Description: Digital signature

