@mitch2 said:
Are you assuming the shield is acting as the ground?
Not assuming, Stating a fact... IF it is connected at both ends with the EGC, (Equipment Grounding Conductor). (Therein male plug end and IEC connector end.) It becomes a parallel EGC.
If a closed ground fault circuit is provided current will travel in the EGC as well as the parallel connected shield. Current does not discriminate. It will take any path that is provided back to the source. In this case the Utility Power transformer.
If you DIY your own shielded power cords only connect the shield to the EGC at the male plug end. Leave the other end of the shield, at the IEC connector, floating.
.