On Thu, Mar 31, 2011 at 1:04 PM, David Gentry
<[email protected]> 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
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to