You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Unable to locate Sandbox in iMac

I tried to install a program through Terminal. Now disk permissions are all messed up and I cannot reset Disk Permissions. Using the command

diskutil resetUserPermissions / `id -u`


I get "Ready to reset user permissions on disk4s1 (iMac Home Crucial 2TB)

Error encountered attempting to reset permissions for user 501 home directory on disk4s1 (iMac Home Crucial 2TB): This operation is restricted by Sandbox; check your settings in System Preferences > Security & Privacy > Privacy > Files and Folders (-69464)


I have looked every where for Sandbox and cannot find it. I have used Clean My Mac and iBoost up and Sandbox does not show up.


Any help would be appreciated.



[Re-Titled by Moderator]

iMac 27″, macOS 11.7

Posted on Nov 9, 2024 6:50 AM

Reply
4 replies

Nov 9, 2024 4:31 PM in response to buzzme

buzzme wrote:

I have used Clean My Mac and iBoost up and Sandbox does not show up.

You probably added insult to injury with CleanMyMac and iBoost. All they do efficiently is drain your bank account. There is no reason to ever install or run any 3rd party "cleaning", "optimizing", "speed-up", anti-virus, VPN or security apps on your Mac.  This documents describe what you need to know and do in order to protect your Mac: Effective defenses against malware and other threats - Apple Community and Recognize and avoid phishing messages, phony support calls, and other scams - Apple Support.  


There are no known viruses, i.e. self propagating, for Macs.  There are, however, adware and malware which require the user to install although unwittingly most of the time thru sneaky links, etc.   


Anti Virus developers try to group all types as viruses into their ad campaigns of fear.  They do a poor job of the detecting and isolating the adware and malware.  Since there are no viruses these apps use up a lot of system resources searching for what is non-existent and adversely affect system and app performance.


There is one app, Malwarebytes, which was developed by a long time contributor to these forums and a highly respected member of the computer security community, that is designed solely to seek out adware and known malware and remove it.  The free version is more than adequate for most users.  


Unless you're using a true VPN tunnel, such as between you and your employer's, school's or bank's servers, they provide false security from a privacy standpoint.  Read these two articles: Public VPN's are anything but private and Security Risks: The Dangers of Using Free VPNs (eccu.edu)


So to protect from further problems uninstall those apps according to the developers' instructions.


Nov 9, 2024 9:50 AM in response to buzzme

That's because Sandbox isn't an app - it's a security mechanism that an app runs in to isolate it from other applications. As in "the application can only play in its own sandbox". A slightly more nuanced version of a chroot jail.


Your best option is to boot into recovery mode and repair the disk from there. I would start from Disk Utility rather than jump into the Terminal - assuming the version of macOS you are on has a permission repair option in Disk Utility. And that may be a big assumption since resetUserPermissions hasn't been part of diskutil for quite a while as it is only relevant to HFS+ filesystems


Your profile suffix says iMac 27", macOS 11.7...so I assume you did this to another machine running El Capitan or Sierra?


Alternatively - perhaps explain what program you were attempting to install and how it messed up your disk permission (plus how you think you know they are messed up) and perhaps you will get some useful advice relevant to your actual problem.

Nov 9, 2024 10:37 AM in response to g_wolfman

Well, it seems I was partly wrong and resetUserPermissions is still a thing, but undocumented and the whys and hows of it working are...poorly documented: https://eclecticlight.co/2017/06/15/something-odd-you-cant-fix-sierra-re-introduces-repairing-permissions/


Doesn't change my point about perhaps you ought to explain what program you were attempting to install and how it messed up your disk permission (plus how you think you know they are messed up)...

Unable to locate Sandbox in iMac

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