If we do want to make sure that we don't chmod if the sed fails, I'd prefer that we use set -e rather than making a giant line with &&.