8.7 C
New York
Monday, April 27, 2026

macos – Find out how to grant entry to community folders to my very own utility?


macOS 26.2

I’ve encapsulated a bash script into an everyday utility (.app package deal). This bash script is accessing information on a NFS mount /Customers/Shared/Multimedia2/

Downside:

  • if I instantly run the script from the Terminal it may entry the community information
  • if I run the script by double-clicking the applying, it will not entry the community information (no learn & no write entry)

I’ve checked that the script is successfully launched by the applying, by inserting some echo instructions that write to an area file (so not solely the script is run, but it surely has entry to the native information/folders).

I went to the System settings -> Privateness & Safety, and the one merchandise which will match is “Native Community”: there are a couple of functions which might be listed right here, however there is not any means so as to add one.

Right here is the construction of my utility package deal:

menage.app/
|__Contents/
   |__Info.plist
   |__MacOS/
      |__menage.bash

and the content material Data.plist is:





    CFBundleExecutable
    menage.bash


Is there one thing so as to add on this .plist?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles