Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 5 Replies) Launchd giving bad ownership/permissions (Read 28767 times)
Jerry Krinock
Admin
Offline
Posts: 1683
Location: San Jose, California, USA
Joined: Sep 29th, 2008
Re: Launchd giving bad ownership/permissions
Reply #5 - Mar 17th, 2015 at 2:30am
Print Post  
Well, I've read there are people who are smarter than me that manage to keep their home folders on other drives.  And these are generally power users who will certainly be using LaunchAgents.  So I know there is a way to do that, if you really want to.  I've just never done it myself!
  

Jerry Krinock
Back to top
IP Logged
 
Out of Control
New Member
Offline
Posts: 4
Joined: Mar 16th, 2015
Re: Launchd giving bad ownership/permissions
Reply #4 - Mar 16th, 2015 at 11:01pm
Print Post  
With home folder on boot drive, all is working as expected, including BookMacster! Thanks for the tip.
  
Back to top
 
IP Logged
 
Out of Control
New Member
Offline
Posts: 4
Joined: Mar 16th, 2015
Re: Launchd giving bad ownership/permissions
Reply #3 - Mar 16th, 2015 at 6:50pm
Print Post  
Seems none of the user agents in ~/Library/LaunchAgents are running. They all show "Path had bad ownership/permissions" when using launchctl load. I've also noted that on start up I have Failed to bootstrap Agent with the same errors on BookMacster agents.

I've tried with the external drive Ignore Ownership enabled (default) and disabled. With a restart between each. No difference, agents still fail.

ACLs are same as other Agents and show no extra settings when running ls -leOa. Ownership is correct as well.
  
Back to top
 
IP Logged
 
Out of Control
New Member
Offline
Posts: 4
Joined: Mar 16th, 2015
Re: Launchd giving bad ownership/permissions
Reply #2 - Mar 16th, 2015 at 5:42pm
Print Post  
Ah, home directory on a different disk. Yes, we run it on an external RAID. I'll give your suggestions a try.
  
Back to top
 
IP Logged
 
Jerry Krinock
Admin
Offline
Posts: 1683
Location: San Jose, California, USA
Joined: Sep 29th, 2008
Re: Launchd giving bad ownership/permissions
Reply #1 - Mar 16th, 2015 at 3:34am
Print Post  
Hello, Out of Control.

I've never seen this Caller specified a plist with bad ownership/permissions thing before.  The POSIX permissions of the three BookMacster launchd files you listed with ls -la are normal.

Some ideas:

• Try ls -leOa ~/Library/LaunchAgents and compare with the result of ls -la.  Any additional text indicates that Access Control Lists (ACL) or Finder flags may be restricting access.
• Try that on the parent directory LaunchAgents itself.
• If your Home Directory is on a different disk, maybe you need to switch on Ignore permissions as explained here, although these guys seemed to have better luck switching it off.
  

Jerry Krinock
Back to top
IP Logged
 
Out of Control
New Member
Offline
Posts: 4
Joined: Mar 16th, 2015
Launchd giving bad ownership/permissions
Mar 16th, 2015 at 1:10am
Print Post  
I've just re-installed BookMacster on a clean machine. All my bookmarks have been synced with export and all browsers have the exact same set of bookmarks.

I noticed after a day of adding a few bookmarks, only the browser in which I added the bookmarks, had those new bookmarks. The other browsers didn't appear to be syncing. I tried exporting again so all browsers had identical bookmarks, and then adding a few more bookmarks. After several attempts, including redoing the settings in BookMacster, still no go.

When I looked in Console, I saw that the Launch Daemons were not running. I restarted the computer, and added a new bookmark in Safari. The following is the console output:
Code
Select All
3/15/15 8:56:44.613 PM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.user.501.100006.Aqua) Caller specified a plist with bad ownership/permissions: path = 4C-4816-B062-7CB7BFB244C8.000.003.plist, caller = launchctl.1175
3/15/15 8:56:47.297 PM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.user.501.100006.Aqua) Caller specified a plist with bad ownership/permissions: path = 4C-4816-B062-7CB7BFB244C8.000.003.plist, caller = launchctl.1187
3/15/15 8:56:53.876 PM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.user.501.100006.Aqua) Caller specified a plist with bad ownership/permissions: path = 4C-4816-B062-7CB7BFB244C8.000.003.plist, caller = launchctl.1200
 




This is an ls -la of /Volumes/HD/myuser/Library/LaunchAgents
Code
Select All
-rw-r--r--   1 myuser  staff   891 Mar 15 20:31 com.sheepsystems.BookMacster.A04CCE7A-504C-4816-B062-7CB7BFB244C8.000.000.plist
-rw-r--r--   1 myuser  staff   973 Mar 15 16:43 com.sheepsystems.BookMacster.A04CCE7A-504C-4816-B062-7CB7BFB244C8.000.001.plist
-rw-r--r--   1 myuser  staff   975 Mar 15 16:43 com.sheepsystems.BookMacster.A04CCE7A-504C-4816-B062-7CB7BFB244C8.000.002.plist 



I'm wondering what I might have done wrong, or what BookMacster might have done wrong in the installation? Any thoughts on this issue?

Thanks in advance.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint