Ensure /tmp/vagrant-cache exists before chmodding it
This commit is contained in:
parent
01bef9f407
commit
2a63617e75
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
def chmod_bucket_root(machine)
|
def chmod_bucket_root(machine)
|
||||||
@logger.info "'chmod'ing bucket root dir to 777..."
|
@logger.info "'chmod'ing bucket root dir to 777..."
|
||||||
machine.communicate.sudo 'chmod 777 /tmp/vagrant-cache'
|
machine.communicate.sudo 'mkdir -p /tmp/vagrant-cache && chmod 777 /tmp/vagrant-cache'
|
||||||
end
|
end
|
||||||
|
|
||||||
def configure_cache_buckets(env)
|
def configure_cache_buckets(env)
|
||||||
|
|
Loading…
Reference in a new issue