Created
October 21, 2016 00:30
-
-
Save JohnnyNiu/5e49272a84bf93315a2c202357fd977b to your computer and use it in GitHub Desktop.
How to solve vagrant put tempororay file under coder structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/mitchellh/vagrant/issues/3493 | |
Vagrant tried to put temp files to your temp dir which is `/tmp`, it failed becuase of the permission. | |
So "/tmp" directory is by default with "sticky" flag, I run chmod 777 and break that and having the same problem. To make your "/tmp" sticky you need to run: | |
chmod 1777 /tmp | |
or | |
chmod +t /tmp | |
``` | |
chmod o+t /tmp | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hashicorp/vagrant#3493