8189977: Improve permission portability

Reviewed-by: rriggs
3 files changed