Skip to content

Instantly share code, notes, and snippets.

@AJ-Acevedo
Last active December 15, 2015 20:40
Show Gist options
  • Save AJ-Acevedo/5319929 to your computer and use it in GitHub Desktop.
Save AJ-Acevedo/5319929 to your computer and use it in GitHub Desktop.
Bash script to add a directory to the CS6 installation which K4 depends on for non-admin users.
#!/usr/bin/env bash
# This script adds an empty Macintosh HD directory to the CS6 installation which K4 depends on for non-admin users.
# This script must be run with sudo from Terminal or deployed as an Administrator with Remote Desktop
# ie:
# $ sudo ./k4-hotfix.sh
# If you are unable to execute this file make sure it has executable permissions.
# $ chmod 777 k4-hotfix.sh
mkdir -p /Applications/Adobe\ InDesign\ CS6/Adobe\ InDesign\ CS6.app/Contents/MacOS/Macintosh\ HD
mkdir -p /Applications/Adobe\ InCopy\ CS6/Adobe\ InCopy\ CS6.app/Contents/MacOS/Macintosh\ HD
exit
@AJ-Acevedo
Copy link
Author

Here is the command to copy paste into Terminal if you want to run the command manually and change the permissions to 777 aka -rwxrwxrwx.

enjoy

sudo mkdir -p /Applications/Adobe\ InDesign\ CS6/Adobe\ InDesign\ CS6.app/Contents/MacOS/Macintosh\ HD ; sudo mkdir -p /Applications/Adobe\ InCopy\ CS6/Adobe\ InCopy\ CS6.app/Contents/MacOS/Macintosh\ HD ; sudo chmod 777 /Applications/Adobe\ InCopy\ CS6/Adobe\ InCopy\ CS6.app/Contents/MacOS/Macintosh\ HD ; sudo chmod 777 /Applications/Adobe\ InDesign\ CS6/Adobe\ InDesign\ CS6.app/Contents/MacOS/Macintosh\ HD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment