iTerm2 icon indicating copy to clipboard operation
iTerm2 copied to clipboard

Attempt to disclaim ownership of child processes.

Open gnachman opened this issue 3 years ago • 4 comments

Doesn't work because they are just denied permission for everything.

gnachman avatar Jun 20 '22 18:06 gnachman

What does log stream show about the process that was denied permission?

rolfbjarne avatar Aug 10 '23 07:08 rolfbjarne

Can you remind me what this was all about?

gnachman avatar Aug 10 '23 18:08 gnachman

Can you remind me what this was all about?

https://gitlab.com/gnachman/iterm2/-/issues/10360

rolfbjarne avatar Aug 11 '23 08:08 rolfbjarne

I stared at it for a while but not seeing anything useful here, but maybe you will. It'll be before this line

2023-08-11 11:54:04.638662-0700 0x27299f   Default     0x5bc32f             76509  0    bluetoothapp: CBManagerStateUnauthorized

log.txt.zip

gnachman avatar Aug 11 '23 19:08 gnachman

I just built iTerm2 locally with this patch and it works for me - in that I get the same (somewhat unintuitive) behavior as Terminal.

That is, I get the following dialog when an executable asks for permission (in this case to access the Music library):

Screenshot 2024-02-20 at 11 48 16

which is the exact same dialog I get with Terminal:

Screenshot 2024-02-20 at 11 47 38

Note that the previous behavior was for the executable to crash with:

This app has crashed because it attempted to access privacy-sensitive data without a usage description.

rolfbjarne avatar Feb 20 '24 10:02 rolfbjarne

Merged in 1d3e09f225ec5a15e1aeb341da28ad6397c831d9. It's off by default for now but I expect to turn it on after 3.5 is release. See the commit message for details.

gnachman avatar Feb 21 '24 18:02 gnachman