2

In the security and privacy pane I didn't allow the terminal app to access anything.

Privacy setting

I didn't allow full disk access either.

However, it can show the contents of Desktop by doing cd Desktop, ls. Why?

0

1 Answer 1

1

My first question is: why would you do that to your terminal.app?

To answer your question. Terminal.app is automatically granted Full Disk Access by default and it does not show up in the Full Disk Access tab on the Security Pane.

You can see this by running the following in your term:

sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db 'select * from access'

I hope it answers your question.

8
  • if Terminal.app has Full Disk Access by default, why does it ask for other permissions?
    – Agos
    Feb 17, 2021 at 9:37
  • It did not on my computer... Just got MBA2020 with M1 chip and Big Sur.
    – Nibor Ndj
    Feb 17, 2021 at 12:55
  • Terminal shows up with Full Disk Acces on my M1 mini, but when prompted I might well have given full access
    – mmmmmm
    Feb 17, 2021 at 13:30
  • What does that command do? If I edit the file Support/com.apple.TCC/TCC.db, can I disable Full Disk Access?
    – TNKYM
    Feb 17, 2021 at 17:10
  • To be honest with you, if you don't understand the command above, don't go any further. You could seriously harm your system... To answer your question: sudo gives you the root access to your computer (God's power), sqlite3 is a program for reading/writing databases files like TCC.db. You could maybe disable the Full Disk Access manually using sqlite3. I still don't understand why you would do that to your terminal.
    – Nibor Ndj
    Feb 17, 2021 at 18:03

You must log in to answer this question.

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