Using GUI apps with Apache

For a project I am working on, I need Apache to be able to access an application running in the user’s GUI. The safest (I think) thing to do is to add that user to the _www group, like this:

sudo dseditgroup -o edit -a `whoami` -t user _www

(Replace `whoami` with an actual username, if you want to get specific.)

google_pluslinkedingoogle_pluslinkedinby feather

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.