should refuse to pack files with extended attributes
Bug #1472708 reported by
Alberto Diaz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upx-ucl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Extended attributes are lost when the file is upx packed.
Example:
getfattr /bin/ping -m . , output:
# file: bin/ping
security.capability
then upx /bin/ping (no errors)
getfattr /bin/ping -m . , output:
(empty)
To post a comment you must log in.
upx does reject to pack a file with suid bit set, so should refuse to pack a file with some xattrs set.
In particular, file capabilities are lost.