Avoid writing where user has no permissions.