machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
889 stars 73 forks source link

Set the NFS export to map all the users on the remote to the current user #105

Closed jamesRaybould closed 8 years ago

jamesRaybould commented 8 years ago

Currently for NFS shares the driver maps the remote root user to the local root user

This causes issues where all files created by the remote are owned by local root and are unaccessible without modifying permissions.

I have changed the NFS mount to map all remote users to the current user, this means that files created by the remote now has the same permissions as the local user.

I think this will fix https://github.com/zchee/docker-machine-driver-xhyve/issues/99

NFS Reference

zchee commented 8 years ago

@jamesRaybould Sorry for a late reply :(

Thanks! Good catch. I will test and merge.

zchee commented 8 years ago

@jamesRaybould I was tested. It will work :) LGTM.

softinio commented 8 years ago

@zchee Thanks for this. Will test it this weekend.