Resetting permissions of binaries after an upgrade