Package: squashfs-tools
Version: 1:4.3-3
Severity: normal
Tags: upstream

``unsquashfs`` fails to properly apply capabilities to a file which has them
in the filesystem image:

    # mount -o loop test.squashfs /mnt
    # getcap /mnt/bin/ping
    /mnt/bin/ping = cap_net_raw+ep
    # unsquashfs -x test.squashfs
    # getcap squashfs-root/bin/ping
    #

This was already reported and a temptative patch sent by Prasad Koya on LKML a
few weeks ago: <https://lkml.org/lkml/2015/10/7/412>

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages squashfs-tools depends on:
ii  libc6      2.19-22
ii  liblz4-1   0.0~r131-1
ii  liblzma5   5.1.1alpha+20120614-2.1
ii  liblzo2-2  2.08-1.2
ii  zlib1g     1:1.2.8.dfsg-2+b1

squashfs-tools recommends no packages.

squashfs-tools suggests no packages.

-- no debconf information

Reply via email to