[Pkg-ltsp-devel] Bug#840667: Bug#840667: ltsp-build-client fails at apt update call
Wolfgang Schweer
wschweer at arcor.de
Fri Oct 14 09:40:44 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20161014/d50a1a17/attachment.sig>
More information about the Pkg-ltsp-devel
mailing list