Locking .vbox files
Posted: 11. Nov 2015, 18:19
Hi. We have a unique situation where we need multiple users on a particular Mac be able to launch the same VM from their own user spaces. I save the VM to a folder in /Users/Shared/VMs, and this directory and all files have User and Group read/write permissions. This works fine, UNTIL someone quits the VM and VBox saves the .vbox file with the current user as the owner and no permissions for Group/Other. This locks out any other user.
What I have found is that if I set the permissions, then add the "Locked" bit (chflags uchg VM.vbox), this prevents the problem.
Does anyone see an issue with this? Is there a way to change the VBox behavior such that it doesn't change the permissions/ownership on the .vbox file?
Thanks,
Charles
What I have found is that if I set the permissions, then add the "Locked" bit (chflags uchg VM.vbox), this prevents the problem.
Does anyone see an issue with this? Is there a way to change the VBox behavior such that it doesn't change the permissions/ownership on the .vbox file?
Thanks,
Charles