Currently, there is no resolution.
Workaround:
To workaround this issue, use one of these options:
- Launch Fusion first before run the vmware-vdiskmanager utility.
- Write a script to load com.vmware.DiskHelper and com.vmware.MountHelper before running vmware-vdiskmanager utility, then unload the two services.
For example:
# example.sh
# The script will help launch mountHelper and diskHelper
# Then the user could use vmware-vdiskmanager
# Finally, the script will stop the mountHelper and diskHelper
Fusion="/Applications/VMware Fusion.app"
LIBDIR='/Applications/VMware Fusion.app/Contents/Library'
HELPER_DIR='/Library/PrivilegedHelperTools'
HELPERPLIST_DIR='/Library/LaunchDaemons'
# Stage and start a privileged helper in exactly the same fashion as SMJobBless.
startPrivilegedHelper() {
local helper="$1"
cp -f -- "$LIBDIR"/LaunchServices/"$helper" "$HELPER_DIR"
chmod 544 "$HELPER_DIR"/"$helper"
cp -f -- "$LIBDIR"/LaunchServices/"$helper".plist "$HELPERPLIST_DIR"
chmod 644 "$HELPERPLIST_DIR"/"$helper".plist
launchctl load "$HELPERPLIST_DIR"/"$helper".plist
}
# Stop and remove a privileged helper.
stopPrivilegedHelper() {
local helper="$1"
launchctl stop "$helper"
launchctl unload "$HELPERPLIST_DIR"/"$helper".plist
rm "$HELPER_DIR"/"$helper"
rm "$HELPERPLIST_DIR"/"$helper".plist
}
startPrivilegedHelper com.vmware.MountHelper
startPrivilegedHelper com.vmware.DiskHelper
#
# HERE: Use vmware-vdiskmanager utility to do the intended work
#
stopPrivilegedHelper com.vmware.MountHelper
stopPrivilegedHelper com.vmware.DiskHelper