Skip to content

Commit

Permalink
fix(cli): \minikube start --mount --mountsting\ without wirte permi…
Browse files Browse the repository at this point in the history
…ssion
  • Loading branch information
NsLib authored and dlorenc committed Sep 4, 2018
1 parent 9578f3f commit a7a5ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func GetMountCleanupCommand(path string) string {
var mountTemplate = `
sudo mkdir -p {{.Path}} || true;
sudo mount -t 9p -o trans=tcp,port={{.Port}},dfltuid={{.UID}},dfltgid={{.GID}},version={{.Version}},msize={{.Msize}} {{.IP}} {{.Path}};
sudo chmod 775 {{.Path}};`
sudo chmod 775 {{.Path}} || true;`

func GetMountCommand(ip net.IP, path, port, mountVersion string, uid, gid, msize int) (string, error) {
t := template.Must(template.New("mountCommand").Parse(mountTemplate))
Expand Down

0 comments on commit a7a5ede

Please sign in to comment.