Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 2
    I'd recommend a couple of modifications to this: first, make sure Terminal has Full Disk Access, then use sudo du -xk | sort -n to give it more access to protected files, but stay on the targeted volume. (Note: it'll prompt for your admin password, but won't echo as you type.) Commented Apr 20, 2021 at 19:46
  • @GordonDavisson Maybe it's aditional security measures in Sonoma, but even granting Terminal full disk access doesn't make the "operation not permitted" messages go away, which means some big files are (presumably) not going to show up when entering that command. Do you have a fix for this that doesn't involve disabling SIP? Commented Aug 15, 2024 at 3:54