Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cspence002

macrumors newbie
Original poster
Aug 19, 2022
18
2
I'm trying to test application permissions for a webkit browser I've installed. When running
Code:
spctl --list --type execute
I get a long list of executables none of which include the applications name.
Screenshot 2023-02-02 at 7.20.14 PM.png


I'm trying to determine how to interpret this exactly. What would be a normal expected output of this command?
 

cspence002

macrumors newbie
Original poster
Aug 19, 2022
18
2
I've ran this to ensure of appropriate permissions of applications :
Code:
sudo find /Applications -iname '*\.app' -type d -perm -2 -ls | wc -l | xargs
with a return of 0

Code:
sudo ls -lO /Applications
returns
Screenshot 2023-02-02 at 7.31.42 PM.png


Checking extended attributes:
Screenshot 2023-02-02 at 7.42.05 PM.png
 

bogdanw

macrumors 603
Mar 10, 2009
6,104
3,020

cspence002

macrumors newbie
Original poster
Aug 19, 2022
18
2
Apple Developer Documentation
Entitlements https://developer.apple.com/documentation/bundleresources/entitlements
Diagnosing Issues with Entitlements https://developer.apple.com/documen...itlements/diagnosing_issues_with_entitlements
"Once you’ve build your app, inspect the entitlements built into your app by running the following command in the Terminal:
codesign --display --entitlements :- YourApp.app
This command prints a plist that contains all of the entitlements built into the app."
Thanks I usually display the parsed format with with this command for better readability:
Code:
codesign -d --entitlements - YourApp.app

Do you know anything about parsing the executables and/or identifying their source? Such as those shown in the output of this command ?
Code:
spctl --list --type execute

This isn't an application I've developed but one I've installed from a 3rd-party source.
 

bogdanw

macrumors 603
Mar 10, 2009
6,104
3,020
I sincerely don’t understand what you are trying to find out.

spctl --list is not even an option mentioned in the manual

man -t spctl | open -fa "Preview"
 

cspence002

macrumors newbie
Original poster
Aug 19, 2022
18
2
I sincerely don’t understand what you are trying to find out.

spctl --list is not even an option mentioned in the manual

man -t spctl | open -fa "Preview"
Pretty much what this gke stuff is. (google kubernetes engine?) and if this webkit application is responsible. I can go into details as to why but it then becomes another post.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.