A compressor is provided with an oil separator for separating part of the
lubricating oil contained in the compressed refrigerant, path arrangement
for connecting a separation chamber of the separator and a delivery port
of the compressed refrigerant, the path arrangement having a plurality of
linear holes with opening ends that open in the outer surface of the
housing wall, and screw plugs closing the opening ends except for the one
serving as the delivery port, and a safety device built in at least one
of the screw plugs, the safety device having a pressure relief valve
and/or a temperature sensor.