Permission errors

Questions and Answers : Macintosh : Permission errors
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Martin P.

Send message
Joined: 19 May 99
Posts: 294
Credit: 27,230,961
RAC: 2
Austria
Message 555956 - Posted: 29 Apr 2007, 15:28:02 UTC

Since I installed BOINC manager 5.8.17 for MacOS X i keep getting this error message (in all projects):

So 29 Apr 16:56:13 2007|SETI@home|Reason: requested by project
Sa 28 Apr 12:40:34 2007||Can't rename client_state_next.xml to client_state.xml; check file and directory permissions
Sa 28 Apr 12:40:34 2007||(error) Couldn't write state file: system rename


What can I do to change this? If I change the permissions manually BOINC manager will not run anymore and requires a reinstall.

ID: 555956 · Report as offensive
Profile peanut
Avatar

Send message
Joined: 1 Feb 07
Posts: 372
Credit: 1,951,576
RAC: 0
United States
Message 556083 - Posted: 29 Apr 2007, 18:20:08 UTC
Last modified: 29 Apr 2007, 18:26:17 UTC

Maybe this will help. I am running 5.8.15 on a mac mini. 5.8.17 may be completely different.

If you are using Alex Kan's app and boinc is not running at all it is likely that you will need to change the owner and the group on the custom app and the new xml file you installed. Owner should be boinc_manager and group should be boinc_project.

Just for comparison:::::::

These are the permissions on my /library/application support/ directory

drwxrwxr-x 27 boinc_ma boinc_ma 918 Apr 29 12:55 BOINC Data
owner and group are boinc_manager it gets cutoff in the terminal display

Here are the contents of my BOINC DATA directory. Same owner and group of boinc_manager. Looks like a couple files could be owned by YOU because I see me on a few files.

-rw-rw-r-- 1 boinc_ma boinc_ma 2063 Mar 17 20:40 account_setiathome.berkeley.edu.xml
-rw------- 1 boinc_ma boinc_ma 0 Apr 17 22:38 blcHCrmxK
-rw-rw-r-- 1 boinc_ma boinc_ma 238103 Jan 15 15:39 ca-bundle.crt
-rw-rw-r-- 1 boinc_ma boinc_ma 17242 Apr 29 12:59 client_state.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 17242 Apr 29 12:59 client_state_prev.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 35191 Apr 19 05:38 get_current_version.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 162 Mar 8 00:54 get_project_config.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 843 Mar 8 00:54 global_prefs.xml
-rw-rw---- 1 boinc_ma boinc_ma 32 Mar 8 00:52 gui_rpc_auth.cfg
dr-xr-x--- 37 boinc_ma boinc_ma 1258 Feb 20 02:17 locale
-rw-r--r-- 1 boinc_ma boinc_ma 0 Mar 8 00:52 lockfile
-rw-rw-r-- 1 boinc_ma boinc_ma 139 Mar 8 00:54 lookup_account.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 0 Apr 27 13:52 lookup_website.html
-rw-rw-r-- 1 boinc_ma boinc_ma 69 Apr 17 16:35 master_setiathome.berkeley.edu.xml
drwxrwxr-x 4 boinc_ma boinc_ma 136 Mar 8 20:08 projects
-rw-rw-r-- 1 boinc_ma boinc_ma 5538 Apr 29 12:49 sched_reply_setiathome.berkeley.edu.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 6864 Apr 29 12:49 sched_request_setiathome.berkeley.edu.xml
drwxrwxr-x 4 boinc_ma boinc_ma 136 Mar 8 00:55 slots
-rw-rw-r-- 1 boinc_ma boinc_ma 10163 Apr 29 12:50 statistics_setiathome.berkeley.edu.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 0 Mar 8 00:52 stderrdae.txt
-rw-rw-r-- 1 davidhof boinc_ma 159322 Apr 25 17:08 stderrgui.txt
-rw-rw-r-- 1 boinc_ma boinc_ma 1996719 Apr 29 12:50 stdoutdae.txt
-rw-rw-r-- 1 davidhof boinc_ma 0 Mar 8 00:52 stdoutgui.txt
dr-xr-x--- 4 boinc_ma boinc_ma 136 Feb 20 02:17 switcher

the project directory is owned by boinc_manager but is in group boinc_project
drwxrwxr-x 19 boinc_ma boinc_pr 646 Apr 29 12:50 setiathome.berkeley.edu

all files in setiathome.berkeley.edu should be owner of boinc_manager and group of boinc_project
ID: 556083 · Report as offensive
Profile Martin P.

Send message
Joined: 19 May 99
Posts: 294
Credit: 27,230,961
RAC: 2
Austria
Message 556223 - Posted: 29 Apr 2007, 20:57:12 UTC - in response to Message 556083.  
Last modified: 29 Apr 2007, 20:59:58 UTC

Maybe this will help. I am running 5.8.15 on a mac mini. 5.8.17 may be completely different.

If you are using Alex Kan's app and boinc is not running at all it is likely that you will need to change the owner and the group on the custom app and the new xml file you installed. Owner should be boinc_manager and group should be boinc_project.

Just for comparison:::::::

These are the permissions on my /library/application support/ directory

drwxrwxr-x 27 boinc_ma boinc_ma 918 Apr 29 12:55 BOINC Data
owner and group are boinc_manager it gets cutoff in the terminal display

Here are the contents of my BOINC DATA directory. Same owner and group of boinc_manager. Looks like a couple files could be owned by YOU because I see me on a few files.

-rw-rw-r-- 1 boinc_ma boinc_ma 2063 Mar 17 20:40 account_setiathome.berkeley.edu.xml
-rw------- 1 boinc_ma boinc_ma 0 Apr 17 22:38 blcHCrmxK
-rw-rw-r-- 1 boinc_ma boinc_ma 238103 Jan 15 15:39 ca-bundle.crt
-rw-rw-r-- 1 boinc_ma boinc_ma 17242 Apr 29 12:59 client_state.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 17242 Apr 29 12:59 client_state_prev.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 35191 Apr 19 05:38 get_current_version.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 162 Mar 8 00:54 get_project_config.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 843 Mar 8 00:54 global_prefs.xml
-rw-rw---- 1 boinc_ma boinc_ma 32 Mar 8 00:52 gui_rpc_auth.cfg
dr-xr-x--- 37 boinc_ma boinc_ma 1258 Feb 20 02:17 locale
-rw-r--r-- 1 boinc_ma boinc_ma 0 Mar 8 00:52 lockfile
-rw-rw-r-- 1 boinc_ma boinc_ma 139 Mar 8 00:54 lookup_account.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 0 Apr 27 13:52 lookup_website.html
-rw-rw-r-- 1 boinc_ma boinc_ma 69 Apr 17 16:35 master_setiathome.berkeley.edu.xml
drwxrwxr-x 4 boinc_ma boinc_ma 136 Mar 8 20:08 projects
-rw-rw-r-- 1 boinc_ma boinc_ma 5538 Apr 29 12:49 sched_reply_setiathome.berkeley.edu.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 6864 Apr 29 12:49 sched_request_setiathome.berkeley.edu.xml
drwxrwxr-x 4 boinc_ma boinc_ma 136 Mar 8 00:55 slots
-rw-rw-r-- 1 boinc_ma boinc_ma 10163 Apr 29 12:50 statistics_setiathome.berkeley.edu.xml
-rw-rw-r-- 1 boinc_ma boinc_ma 0 Mar 8 00:52 stderrdae.txt
-rw-rw-r-- 1 davidhof boinc_ma 159322 Apr 25 17:08 stderrgui.txt
-rw-rw-r-- 1 boinc_ma boinc_ma 1996719 Apr 29 12:50 stdoutdae.txt
-rw-rw-r-- 1 davidhof boinc_ma 0 Mar 8 00:52 stdoutgui.txt
dr-xr-x--- 4 boinc_ma boinc_ma 136 Feb 20 02:17 switcher

the project directory is owned by boinc_manager but is in group boinc_project
drwxrwxr-x 19 boinc_ma boinc_pr 646 Apr 29 12:50 setiathome.berkeley.edu

all files in setiathome.berkeley.edu should be owner of boinc_manager and group of boinc_project


Thanks peanut. My BOINC-Data folder has boinc_master as owner and group is also boinc_master. There might be differences between the PPC- and Intel-version.

There's another thing that puzzles me: I do not even have a file called "client_state_next.xml" in the BOINC Data folder.


ID: 556223 · Report as offensive

Questions and Answers : Macintosh : Permission errors


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.