archive: Fix the storing of setuid bits, etc Upstream-commit: 6af6b72023d68031e73aaf092bb7803ce38af95c Component: engine