hi, after logging the scripts i've found where the permission is changed:
common.sh -> closing_image () -> dpkg -x $DEST"/debs/"$CHOOSEN_UBOOT".deb" /tmp/ operation changes /tmp permission from 1777 to 755.
i have searched a little, and saw that it is a bug of dpkg.
to fix it, the following options are suggessted:
1) Using internal tar(difficult, it's not meant to be used that way).2) Pass additional args to the external tar.3) Wait for dpkg 2.0, which will have a rewritten archive library, that'llmake this kind of thing trivial.
it sounds me very confused, can reverting the permission after this operation to 1777 be a more simple solution?