Report why Windows VM directory hardening failed
The mode check returned 1 without any output, so a launch from the app menu died after the polkit prompt with nothing to diagnose. Name each source directory and the mode it was left with.
This commit is contained in:
1 parent
bce0f512e0
commit
45fd98f344
2 files changed
+11
No files matched your search
@@ -592,6 +592,7 @@ prepare_caller_mounts() {
|
||||
if [[ $storage_mode != 700 || $shared_mode != 700 ]]; then
|
||||
exec {storage_fd}<&-
|
||||
exec {shared_fd}<&-
|
||||
echo "omarchy-windows-vm: could not make the VM data directories private: $LEGACY_STORAGE is mode ${storage_mode:-unknown}, $LEGACY_SHARED is mode ${shared_mode:-unknown} (expected 700)" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user