Comment 0 for bug 1779914

Revision history for this message
Jamie Strandboge (jdstrand) wrote : unsquashfs strips sticky bit when run as non-root

From https://sourceforge.net/p/squashfs/mailman/message/36343213/"

"This set is an attempt to preserve the sticky bit when running unsquashfs as a
non-root user. My main motivation for these changes is to improve
reproducability when doing a sequence of "unsquashfs -> mksquashfs" as a
non-root user but I think there's even more value in preserving the sticky bit
in the case of a squashfs image containing a world-writable directory filled
with files owned by a single user. Dropping the sticky bit could be considered
to be a real bug in that scenario."