executable LaunchDaemons plist

Scott Haneda talklists at newgeo.com
Tue Jan 26 16:33:01 PST 2010

On Jan 26, 2010, at 3:14 PM, Vincent Lefevre wrote:

> With smartmontools @5.39_0+darwin, I can see:
> -rwxr-xr-x 2 root admin 404 2010-01-26 23:48:21 /Library/LaunchDaemons/net.sourceforge.smartmontools.smartd.plist

I do not know about this one, all my non MacPorts installed lists are not +x

> Is it normal that this file is executable?
> Similarly, org.freedesktop.avahi-daemon.plist and
> org.freedesktop.avahi-dnsconfd.plist are also executable.

These are usually symbolic links, and not the actual files.  For example:
$ls -la /opt/local/etc/LaunchDaemons/org.macports.apache2/

-rwxr-xr-x  2 root  wheel  607 Jan 24 03:10 apache2.wrapper
-rw-r--r--  2 root  wheel  987 Jan 24 03:10 org.macports.apache2.plist

Why the symbolic links is executable?  Maybe they have to be, just like a directory has to be.
Scott * If you contact me off list replace talklists@ with scott@ * 

More information about the macports-dev mailing list