Transferring BOINC Data folder not working on Mac El Capitan PB - permissions error

Message boards : BOINC Manager : Transferring BOINC Data folder not working on Mac El Capitan PB - permissions error
Message board moderation

To post messages, you must log in.

AuthorMessage
James Brown

Send message
Joined: 18 Mar 15
Posts: 6
Australia
Message 63731 - Posted: 19 Aug 2015, 2:35:24 UTC

Have upgraded to Pubic Beta 6 of El Capitan, and can no longer move my Data folder to an external HD.

I follow the instructions here:

http://boinc.berkeley.edu/wiki/Tools_for_Mac_OS_X

The Mac_SA_Secure.sh script complains:

/System/Library/LaunchDaemons/com.apple.DirectoryServicesLocal.plist: No such file or directory

and when I start BOINC Manager I get:

BOINC ownership or permissions are not set properly; please reinstall BOINC.
(Error code -1022)

So looks like something has change in OS X 10.11. I know it's only in beta now, but if anyone has any ideas on how to modify the script that would be great.

James.
ID: 63731 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 14733
Netherlands
Message 63738 - Posted: 19 Aug 2015, 15:14:00 UTC - in response to Message 63731.  

Sent to the developer, may take a while for him to answer.
ID: 63738 · Report as offensive
Charlie Fenton
Project developer

Send message
Joined: 17 Jul 06
Posts: 278
United States
Message 63755 - Posted: 20 Aug 2015, 20:44:17 UTC - in response to Message 63731.  

Hi James,

I just tried running the Mac_SA_Secure.sh script on Pubic Beta 6 of El Capitan, and it works fine for me (though I didn't try moving the Data folder.) I also tested the Mac_SA_Insecure.sh script) and it worked fine too.

Doing a Google search on:
com.apple.DirectoryServicesLocal.plist: No such file or directory
turns up many posts about people seiing this message on various versions of OS X.

It appears that this error is coming from the dscl (directory services) commands in the script. I suggest filing a bug report with Apple.

Also, I see that there is now a public beta 7 of El Capitan. You might want to try that.
Charlie Fenton
BOINC / SETI@home Macintosh & Windows Programmer
ID: 63755 · Report as offensive
James Brown

Send message
Joined: 18 Mar 15
Posts: 6
Australia
Message 64250 - Posted: 15 Sep 2015, 1:17:38 UTC - in response to Message 63755.  

Well, I'm now running with the GM of El Capitan. Don't get the error about No such file or directory when running the script.

But opening BOINC Manger afterwards will gives me the message, "BOINC ownership or permissions are not set properly; please reinstall BOINC. Error code -1022"

James.
ID: 64250 · Report as offensive
James Brown

Send message
Joined: 18 Mar 15
Posts: 6
Australia
Message 64251 - Posted: 15 Sep 2015, 1:34:33 UTC - in response to Message 64250.  
Last modified: 15 Sep 2015, 1:35:02 UTC

Well, finally got it working!

The secret was to enter the following: sudo /usr/sbin/vsdbutil -a /Volumes/{external drive}

As you need enable owners on the drive where BOINC Data will be stored. See this post for more info:

http://boinc.berkeley.edu/dev/forum_thread.php?id=9751&postid=58095

After enabling Owners on the external drive I ran Mac_SA_Secure.sh again, and this time I was able to start BOINC Manager with no errors about permissions.

James.
ID: 64251 · Report as offensive

Message boards : BOINC Manager : Transferring BOINC Data folder not working on Mac El Capitan PB - permissions error

Copyright © 2021 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.