How can I enable Location Services from the command line in OSX 10.10?
I searched the web and was able to find some stuff on 10.7 but does't seem to work in 10.10:
launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plistdefaults write /System/Library/LaunchDaemons/com.apple.locationd Disabled -bool false
launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist
Also, is there a command-line way to add applications to the list of apps allowed to access your location?