mock outputs files owned by root. This causes attempts by scripts that want to junk the working directory (typically continuous integration) to fail on permission errors. Fixup those permissions after the fact. Message-Id: <20180719163258.4393-1-avi@scylladb.com> (cherry picked from commit b4d983b45abd1f3dc4bb00b684e2fb9a52047385)