Better error reporting when sync fails due to permissions.