Skip to content

Commit

Permalink
Merge pull request #1643 from aaron-prindle/fix-mount-uid-gid
Browse files Browse the repository at this point in the history
Fixed flags to use 9p syntax for uid and gid
  • Loading branch information
aaron-prindle committed Jun 26, 2017
2 parents 40b0533 + 62c56d7 commit 32316ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/cluster/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func GetMountCleanupCommand(path string) string {

var mountTemplate = `
sudo mkdir -p {{.Path}} || true;
sudo mount -t 9p -o trans=tcp -o port={{.Port}} -o uid={{.UID}} -o gid={{.GID}} {{.IP}} {{.Path}};
sudo mount -t 9p -o trans=tcp -o port={{.Port}} -o dfltuid={{.UID}} -o dfltgid={{.GID}} {{.IP}} {{.Path}};
sudo chmod 775 {{.Path}};`

func GetMountCommand(ip net.IP, path, port string, uid, gid int) (string, error) {
Expand Down

0 comments on commit 32316ac

Please sign in to comment.