- Package:
- xattr
- Source:
- python-xattr
- Description:
- tool for manipulating filesystem extended attributes
- Submitter:
- Frederic MASSOT
- Date:
- 2023-11-20 17:36:05 UTC
- Severity:
- normal
- Tags:
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.