Skip permissions check on named pipes

Fixes #7680
I think we should change that to 'nil`