[Bug 1779914] [NEW] unsquashfs strips sticky bit when run as non-root

Jamie Strandboge jamie at ubuntu.com
Tue Jul 3 17:55:36 UTC 2018


Public bug reported:

>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."

** Affects: squashfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to squashfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1779914

Title:
  unsquashfs strips sticky bit when run as non-root

Status in squashfs-tools package in Ubuntu:
  New

Bug description:
  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."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1779914/+subscriptions



More information about the foundations-bugs mailing list