Issues with Outset or may be PPPC?

Pratik
New Contributor II

 I am struggling with this pop up while using Outset to mount an SMB share on every login under login-every.

Initial observation says this could be happening because of these lines in our script-
############## Mount the network home
writelog "Mounting $adHome"
mount_script=`/usr/bin/osascript > /dev/null << EOT
tell application "Finder"
activate
mount volume "path to share"
end tell
EOT`

Any idea if anyone here is seeing this issue?

Screenshot 2023-07-13 at 2.35.14 AM.png

1 REPLY 1

Bol
Valued Contributor

@Pratik wrote:

 I am struggling with this pop up while using Outset to mount an SMB share on every login under login-every.

Initial observation says this could be happening because of these lines in our script-
############## Mount the network home
writelog "Mounting $adHome"
mount_script=`/usr/bin/osascript > /dev/null << EOT
tell application "Finder"
activate
mount volume "path to share"
end tell
EOT`

Any idea if anyone here is seeing this issue?

Screenshot 2023-07-13 at 2.35.14 AM.png


Remove the Tell block which isn't required. It would look like;
mount_script=`/usr/bin/osascript > /dev/null << EOT
mount volume "path to share"
EOT`
You can use both commands below without Tell & Activate in your script;

mount volume "${mountPath}"
open disk "${shareName}"