Running on macOS Monterey. Our users are standard users and Visual Studio Code has been installed using Intune via the script. Code prompts users with the message "An update is ready to install. Code is trying to add a new helper tool." It then asks for an administrator's name and password. The application is then not updated.
I'm assuming that the permissions of the Visual Studio Code application aren't correct:
drwxr-xr-x 3 root wheel 96B Nov 15 16:43 Visual Studio Code.app
Can the shell script be made to do fix the permissions issues? Should auto-update be disabled in the script for standard users? Will this get rid of the annoying prompt?
One solution for this is that instead installing Visual Studio Code to "/Applications/" -folder is to install the app to user's own application folder under home folder "/Users/[username]/Applications".
Running on macOS Monterey. Our users are standard users and Visual Studio Code has been installed using Intune via the script. Code prompts users with the message "An update is ready to install. Code is trying to add a new helper tool." It then asks for an administrator's name and password. The application is then not updated.
I'm assuming that the permissions of the Visual Studio Code application aren't correct:
drwxr-xr-x 3 root wheel 96B Nov 15 16:43 Visual Studio Code.app
Can the shell script be made to do fix the permissions issues? Should auto-update be disabled in the script for standard users? Will this get rid of the annoying prompt?