5.9 C
New York
Sunday, April 26, 2026

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


macOS 26.2

I’ve encapsulated a bash script into a daily software (.app package deal). This bash script is accessing recordsdata on a NFS mount /Customers/Shared/Multimedia2/

Downside:

  • if I instantly run the script from the Terminal it could entry the community recordsdata
  • if I run the script by double-clicking the applying, it will not entry the community recordsdata (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 a neighborhood file (so not solely the script is run, but it surely has entry to the native recordsdata/folders).

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

Right here is the construction of my software 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

Latest Articles