Posted on 07-12-2023 02:09 PM
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?
Posted on 07-14-2023 07:24 AM
@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}"