GNU Tar only seems to restore extended attributes that matches user.* pattern by default when --xattr pattern is used. Lets specifying that we want all extended attributes to be restored.
This fixes ping requiring sudo privileges. Now ping, arping, fping, etc in the image are keeping their cap_net_raw=ep capabilities as expected.
GNU Tar only seems to restore extended attributes that matches
user.*
pattern by default when --xattr pattern is used. Lets specifying that we want all extended attributes to be restored.This fixes ping requiring sudo privileges. Now ping, arping, fping, etc in the image are keeping their cap_net_raw=ep capabilities as expected.