Ensure /tmp/vagrant-cache exists before chmodding it
This commit is contained in:
parent
6555e72f39
commit
13e8d5e674
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module VagrantPlugins
|
|||
|
||||
def chmod_bucket_root(machine)
|
||||
@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
|
||||
|
||||
def configure_cache_buckets(env)
|
||||
|
|
Loading…
Reference in a new issue