Skip to main content
Question

Issues with Outset or may be PPPC?

  • July 12, 2023
  • 1 reply
  • 12 views

Forum|alt.badge.img+3

 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?

1 reply

Bol
Forum|alt.badge.img+11
  • Contributor
  • July 14, 2023

@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?


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}"