Error Loading Apache2

Scott Webster sewebster at gmail.com
Thu Mar 31 15:03:29 PDT 2011


On Thu, Mar 31, 2011 at 1:04 PM, David Gentry
<localbusinesswebsites at earthlink.net> wrote:
>> On my system, where apache2 loads fine, the permissions are:
>>
>> $ ls -l /Library/LaunchDaemons/org.macports.apache2.plist
>> lrwxr-xr-x  1 root  wheel  76 Feb 27 23:24 /Library/LaunchDaemons/org.macports.apache2.plist -> /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
>>
>> $ ls -l /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
>> -rw-r--r--  2 root  wheel  958 Feb 27 23:23 /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
>
> Here are my current permissions.  Can you please tell me how to fix them using sudo chmod?
>
> $ ls -l /Library/LaunchDaemons/org.macports.apache2.plist
> lrwxr-xr-x  1 root  wheel  76 Mar  1 14:33 /Library/LaunchDaemons/org.macports.apache2.plist -> /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
>
> $ ls -l /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
> -rw-rw-r--+ 2 root  admin  958 Mar  1 14:33 /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
>

sudo chmod g-w /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
sudo chgrp wheel
/opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist

Scott


More information about the macports-users mailing list