logoalt Hacker News

0c3ca83 • today at 2:15 AM • 1 reply • view on HN

Why would ghostty try to access your disk when you run 'ls /'? ghostty isn't opening any files -- ls is.


Replies

dcrazy • today at 2:53 AM

The TCC system attributes the access to Ghostty because that’s the thing the user understands as the app they are interacting with. Otherwise every `posix_spawn()` and `system()` call would result in a new TCC prompt attributed to an inscrutable name.