Error Loading Apache2

David Gentry localbusinesswebsites at earthlink.net
Fri Apr 1 11:52:00 PDT 2011


Scott, thanks very much.  The commands worked fine.  Ryan, thank you.

>> 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


David





More information about the macports-users mailing list