I'm having the common issue where I have a ridiculous amount of storage taken up by "other", and have enlisted disk drill to help work out where the culprits are.
In disk drill, I have ~90Gb taken up by by library, 83Gb of which is attributed to
~\InstallerSandboxes\.PKInstallSandboxManager\ which then holds six folders, all of which are from what look like Xcode updates (
Xcode.app in all six)
I tried restarting in safe mode to clear the caches, however storage still is showing 100Gb+ in other, and disk drill shows the same image, however now when I navigate to the folder in finder, none of the folders within
\.PKInstallSandboxManager\ are visible, and the folder itself, along with the other file in
\InstallerSandboxes\ are greyed out.
I've made sure that hidden files / folders are visible, and have found various other threads about folders being inaccessible, and have tried to amend the folder date as this seems to be a recurring issue using
SetFile -d ..., but get the following error:
❯ SetFile -d '10/10/2021 00:00:00'/Library/Apple/System/Library/InstallerSandboxes/.PKInstallSandboxManager-SystemSoftware ERROR: Unexpected Error. (-5000) on file: /Library/Apple/System/Library/InstallerSandboxes/.PKInstallSandboxManager-SystemSoftware
From here I tried changing permissions in the various folders in the path but that's not fixed it. I've also tried moving the folder in terminal to a Temp folder using
mv /Library/Apple/System/Library/InstallerSandboxes/* /Users/<username>/Desktop/Temp, however that gives the error
zsh: no matches found: /Library/Apple/System/Library/InstallerSandboxes/*
I'm at a total loss as to where to go from here and can't deal with 80+Gb being lost.