summaryrefslogtreecommitdiff
path: root/lib/hyperstack
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hyperstack')
-rw-r--r--lib/hyperstack/provisioning.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hyperstack/provisioning.rb b/lib/hyperstack/provisioning.rb
index 98ef1c6..4d33731 100644
--- a/lib/hyperstack/provisioning.rb
+++ b/lib/hyperstack/provisioning.rb
@@ -275,7 +275,7 @@ module HyperstackVM
# Ephemeral NVMe dirs for models and output.
script << "sudo mkdir -p #{Shellwords.escape(models_dir)} #{Shellwords.escape(output_dir)}"
- script << "sudo chmod -R 0777 #{Shellwords.escape(File.dirname(models_dir))}"
+ script << "sudo chmod -R 0777 #{Shellwords.escape(models_dir)} #{Shellwords.escape(output_dir)}"
# Clone or update ComfyUI from the official repo (no sudo needed in ubuntu home).
script << "if [ ! -d #{Shellwords.escape(install_dir)} ]; then"