enter image description here

How to remove these bunch of files from here. I use VS code, when I debug a program it asks for this permission that a file that is created while debugging wants to access your Document folder. And every time I have to allow it and then those files end up in Privacy -> "Files and Folders".

enter image description here

  • 1
    This is only for your Desktop, Downloads, and Documents folders. Can you direct VS Code to save these projects in a different folder?
    – fsb
    Commented Jul 28, 2020 at 19:32

1 Answer 1



tccutil reset SystemPolicyDocumentsFolder
tccutil reset SystemPolicyDownloadsFolder
tccutil reset SystemPolicyDesktopFolder

They are case sensitive.


If the above is too cumbersome,

tccutil reset

which resets all permissions across all profiles.

tccutil.py is outdated and even after disabling SIP, it will not give meaningful info about the database:

/Library/Application Support/com.apple.TCC/TCC.db
  • To reset everything, it is tccutil reset not rest
    – The Matt
    Commented Sep 14, 2021 at 15:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .