Package: xattr
Version: 0.9.1-1+b1
Severity: normal

Dear Maintainer,

The xattr command crashes when used on a file with acl.

$ setfacl -m g:fredo:w a.txt

$ xattr a.txt 
Traceback (most recent call last):
  File "/usr/bin/xattr", line 11, in <module>
    load_entry_point('xattr==0.9.1', 'console_scripts', 'xattr')()
  File "/usr/lib/python3/dist-packages/xattr/tool.py", line 188, in main
    attr_value = attr_value.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 8: invalid 
start byte


Regards.


-- System Information:
Debian Release: buster/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.13.0-1-686-pae (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xattr depends on:
ii  python3                        3.6.3-2
ii  python3-pkg-resources          36.7.1-1
ii  python3-xattr [python3-xattr]  0.9.1-1+b1

xattr recommends no packages.

xattr suggests no packages.

-- no debconf information

Reply via email to