Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Sandbox Error Filling Log

I am getting the following series of log entries every 10 seconds:


7/2/15 1:26:48.301 PM AssetCacheLocatorService[3699]: failed to create sandbox cache directory: Permission denied

7/2/15 1:26:48.384 PM com.apple.xpc.launchd[1]: (com.apple.AssetCacheLocatorService[3699]) Service exited with abnormal code: 1

7/2/15 1:26:48.384 PM com.apple.xpc.launchd[1]: (com.apple.AssetCacheLocatorService) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

7/2/15 1:26:48.386 PM sandboxd[385]: ([3699]) AssetCacheLocato(3699) deny ipc-posix-shm-read-data /tmp/com.apple.csseed.111


I have looked in /tmp/ and I don't see a file with that name. I checked the permissions for the /tmp/ folder and system, wheel, and everyone all have read/write access. I can't see why it would be getting a permission error.


Any ideas how to stop this error? Thanks.

iMac, OS X Yosemite (10.10.4)

Posted on Jul 2, 2015 11:31 AM

Reply
Question marked as Best reply

Posted on Jul 2, 2015 7:29 PM

Back up all data before proceeding.

This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Triple-click anywhere in the following line on this page to select it:

sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

Copy the selected text to the Clipboard by pressing the key combination command-C.

Launch the built-in Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

resetp

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

8 replies
Question marked as Best reply

Jul 2, 2015 7:29 PM in response to RandySK

Back up all data before proceeding.

This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Triple-click anywhere in the following line on this page to select it:

sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

Copy the selected text to the Clipboard by pressing the key combination command-C.

Launch the built-in Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

Step 2 (optional)

Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

Start up in Recovery mode. When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open. In that window, type this:

resetp

Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword

Press return. A Reset Password window will open. You’re not going to reset a password.

Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

Jul 17, 2015 4:48 PM in response to RandySK

Linc,


I thought this solved it, but it didn't. I tried both steps 1 and 2. After each one and a restart, it looked like it was fine for a while, but then the messages came back. I get this series of messages again every 10 seconds:


7/17/15 6:45:26.930 PM sandboxd[289]: ([2872]) AssetCacheLocato(2872) deny ipc-posix-shm-read-data /tmp/com.apple.csseed.111

7/17/15 6:45:26.933 PM com.apple.xpc.launchd[1]: (com.apple.AssetCacheLocatorService[2872]) Service exited with abnormal code: 1

7/17/15 6:45:26.933 PM com.apple.xpc.launchd[1]: (com.apple.AssetCacheLocatorService) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.


Any other ideas?

Jul 18, 2015 6:58 PM in response to RandySK

This procedure will delete certain temporary and cache files used by system processes. The files are automatically generated and don't contain any of your data. Occasionally they can become corrupt and cause problems such as yours.

Back up all data before proceeding.

Triple-click anywhere in the line below on this page to select it:

/var/folders/zz

Right-click or control-click the highlighted line and select

Services Reveal in Finder (or just Reveal)

from the contextual menu.* A folder should open with a subfolder named "zz" selected. Move that subfolder to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

Oct 28, 2015 1:02 AM in response to Linc Davis

This helped regarding overall performance but I can't empty the trash after restart.

The files listed below seems to be in use still:

-rw-r--r-- 1 root wheel 120 21 Okt 19:46 DeferredInstallFixup.file_list

drwx------ 2 root wheel 68 24 Okt 10:58 PKInstallSandboxManager-SystemSoftware


trying to delete them including sudo doesn't help either


(I'm on El Capitan btw)

Oct 28, 2015 9:41 AM in response to Linc Davis

The instructions to delete the zz folder applied to Yosemite, and are not suitable for El Capitan. If you're running El Capitan, followed those instructions, and now can't empty the Trash, take either Step 1 or Step 2 below (not both.)

Step 1

Restore from the backup you made before moving the folder to the Trash. If you backed up with Time Machine, follow these instructions.

Step 2

This procedure will temporarily disable System Integrity Protection, a security feature of OS X that is preventing the Trash from being emptied. After you empty the Trash, the feature will be re-enabled. Nothing else will be changed.

Start up in Recovery mode. In the OS X Utilities screen, select Get Help Online. A copy of Safari will launch. While in Recovery, you'll have no access to your history or bookmarks, but you won't need them. Load this web page.

Triple-click anywhere in the line below to select it:

csrutil disable

Copy the selected text to the Clipboard by pressing the key combination command-C.

Quit Safari. You'll be returned to the OS X Utilities screen.

Select

Utilities Terminal

from the menu bar. A Terminal window will open. Paste into the window by pressing the key combination command-V.

Wait for a new line ending in a dollar sign ($) to appear below what you entered. If it doesn't appear, press return.

Quit Terminal to return to the main screen.

Restart as usual. You should now be able to empty the Trash. As soon as you've done that, start up in Recovery mode again and load this page in Safari. Run the following command in Terminal as before:

csrutil enable

Restart as usual again.

Sandbox Error Filling Log

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.