Add missing permission checks to Serial.pm