On 2009-09-18, at 14:23:58, Robert Poland wrote:
OK, I tried sudo chown root:wheel /Library/LaunchAgents/
From the console I get a lot of messages like; Sep 18 15:18:00 RLP com.apple.launchctl.Background[64431]: launchctl: Dubious ownership on file (skipping): /Library/LaunchAgents/com.rpoland.SetSoundVolume2.plist
Please forgive my being so dense. I'm 76 years old and somewhat senile.
I'm still working on being that old! I assumed you would be familiar with the use of 'sudo' and use it with the previous example but from what you say above I think that has not happened. I believe it would be good to check that you have not mangled the permissions on the /Library/LaunchAgents folder. On my setup, in Terminal, if I do:
% cd /Library % ls -ld LaunchAgents
then the readout is:
drwxr-xr-x 2 root wheel 68 Sep 17 02:51 LaunchAgents
I believe the /Library/LaunchAgents folder should have the permissions (drwxr-xr-x), owner (root), and group (wheel) matching the above. If that's not the case, then we can try to fix it. Might be easiest to just delete that folder and create a new one (The system should take take of the settings for you).
ยง
Secondly, my intent was for you to use 'sudo' in conjunction with the previous example of 'chown' and applied to the actual .plist. So the full command example would be:
sudo chown root:wheel /Library/LaunchAgents/com.my.agent.plist
and the permissions, owner, and group on that .plist should look like:
-rw-r--r-- 1 root wheel 802 Sep 7 13:03 com.my.agent.plist
Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
|