apply pull request https://github.com/vmware/rbvmomi/pull/32
solve permission issue