title: OSX application permissions only allow them to be opened by one user account
body: <p>I have written a very basic AppleScript application which should connect our users to the network shares whenever they execute it. I want to be able to put this in everybody's Applications folder so it is accessible to whichever user logs in. </p>
  
  <pre><code>tell application Finder
      mount volume \\server\share
      mount volume \\server\share
      mount volume \\server\share
  end tell
  </code></pre>
  
  <p>The user account that moves the app from its location on the server to the Applications folder is able to execute this fine, however no other users are able to do this. Instead they get an error saying:</p>
  
  <pre><code>You do not have permission to open the application "Network Volumes Connection".
  </code></pre>
  
  <p>What permissions do I need to assign to the app to allow every user that logs on the ability to execute it?</p>
  
  <p>EDIT </p>
  
  <p>After granting read &amp; write access to everyone the error changes to </p>
  
  <pre><code>"The application "Network Volumes Connections" can't be opened." 
  </code></pre>
  
  <p>and nobody - not even the person that copied the application over - is able to execute it now. </p>
  
  <p>There are also several messages displayed in the console relating to this.</p>
  
  <pre><code>Finder: spawn_via_launchd() failed, errno=111 label=com.apple.ScriptEditor.id.Network-Volumes-Connections.95172 path=/Applications/Network Volumes Connections.app/Contents/MacOS/applet flags=1 : LaunchApplicationClient.cp #1136 LaunchApplicationViaLaunchDJobLabel() q=com.apple.root.default.qos
  </code></pre>
  
  <p>.</p>
  
  <pre><code>Finder: spawn_via_launchd() failed, errno=111 label=com.apple.ScriptEditor.id.Network-Volumes-Connections.95172 path=/Applications/Network Volumes Connections.app/Contents/MacOS/applet flags=1
  </code></pre>
  
  <p>.</p>
  
  <pre><code>com.apple.xpc.launchd: (com.apple.ScriptEditor.id.Network-Volumes-Connections.95172[951]) Could not find and/or execute program specified by service: 13: Permission denied: /Applications/Network Volumes Connections.app/Contents/MacOS/applet
  </code></pre>
  
  <p>.</p>
  
  <pre><code>com.apple.xpc.launchd: (com.apple.ScriptEditor.id.Network-Volumes-Connections.95172[951]) Service setup event to handle failure and will not launch until it fires.
  </code></pre>
  
  <p>.</p>
  
  <pre><code>WindowServer: _CGXSetWinowHasKeyAppearance: Operation on a window 0x12 requiring rights kCGSWindowRightOwner by caller Dashboard
  </code></pre>
  
  <p>.</p>
  
  <pre><code>WindowServer: _CGXSetWinowHasMainAppearance: Operation on a window 0x12 requiring rights kCGSWindowRightOwner by caller Dashboard
  </code></pre>
  
  <p>.</p>
  
  <pre><code>mdworker: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn't be completed. (OSStatus error -67062.)"
  </code></pre>