After upgrade to 9.7, scripts using jamf mount command not working correctly

msnowdon
Contributor

I have several scripts that mount network shares using the jamf mount command. These were working great until I upgraded from 9.62 to 9.7. There are no spaces in the script names. In the policy logs, they show as complete but do not show up on the desktop. I have an MCX setting to show all server mounts on the desktop. I do see my home directory get mounted but none of the other shares.

The strange part is that if I open the Volumes folder on the client, it will show the network shares in there and if I disconnect myself from the network, they will show as getting interrupted.

So it seems like its working, yet I dont see them on the desktop or in the sidebar of Finder.

Thanks

Mark

3 REPLIES 3

chriscollins
Valued Contributor

not sure if you its a new option or not but are you adding the -visible flag to your jamf mount command?

msnowdon
Contributor

@chriscollins

Like this?

sudo -u $3 /usr/sbin/jamf mount -server CO.ANDOVERMA.LOCAL -share NURSES -type smb -visible

Also I migrated my packages and scripts from Casper Admin and can now see the contents of a script in the JSS. Can I just modify it there now?

Thanks

Mark

msnowdon
Contributor

IT WORKED!!!!!

You dont know how long I've been trying to figure this out!

Thanks so much!!!

I dont know why tech support couldnt tell me that?