• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cron/Launchd Editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cron/Launchd Editor


  • Subject: Re: cron/Launchd Editor
  • From: Philip Aker <email@hidden>
  • Date: Sat, 19 Sep 2009 00:42:08 -0700

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.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: cron/Launchd Editor
      • From: Philip Aker <email@hidden>
References: 
 >cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)

  • Prev by Date: Password
  • Next by Date: Re: cron/Launchd Editor
  • Previous by thread: Re: cron/Launchd Editor
  • Next by thread: Re: cron/Launchd Editor
  • Index(es):
    • Date
    • Thread