Hi all,
Trying to get Casper to run a script on the user login which needs to create a blank DMG and place it in the logged in user's Pictures folder in their profile. This is the script I've got:
hdiutil create -size 75m -fs HFS+ -volname Adobe_LightRoom ~/Pictures/Adobe_LightRoom.dmg
Once the user logs in, I check the logs and get the following error message:
Executing Policy Create Adobe LightRoom5 volume...
Running script Create Adobe LightRoom file...
Script exit code: 1