# Note that allowing non-root write access to the /System/Library/LaunchDaemons # file allows one to specify which executable will be launched. # place for security reasons, as allowing writability to a launchd configuration # Configuration files must not be group- or world-writable. All system-wide daemons (Launch-Daemons) must be owned by root. # Note that per-user configuration files (LaunchAgents) must be owned by the user # launchctl is fussy about the ownership and permissions on the launchd plists. Local plist_path="/Library/LaunchAgents/com.citrix.$1.plist" ![]() ![]() # $1 - The name under which this agent is to be installed, INSTALL_OPTIONS_FILE="/Library/Application Support/Citrix Receiver/InstallOptions.txt" PLUGINS_DIR="/Library/Application Support/Citrix/PlugIns" USER_SHARED_APP_DIR="/Users/Shared/Citrix Receiver" ![]() LOG_FILE_PATH="$HOME/Library/Logs/ReceiverInstall.log"ĭAZZLE_APPS_FOLDER="/Applications/Dazzle"ĭAZZLE_APPS_FOLDER_LEN=$(echo $)ĭAZZLE_APPS_FOLDER_LEN=$((DAZZLE_APPS_FOLDER_LEN + 1)) # +1 for the trailing slash # Uncomment set-x to get verbose logging in the console Lets dissect the script in question to find out: #!/bin/bash Well depending on your environment, the user it is supposed to be installed for will be missing some functionality.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |