Error message using mountNetworkShare.sh

Not applicable

Hi all

In am still getting the error message below when using the
mountNetworkShare.sh. I have tried everything possible to get around it
including running the following commands at the top of the script and on a
separate logout script.

/sbin/umount -f /Volumes//Kingly/
/bin/rm -rf /Volumes//Kingly/

/sbin/umount -f /Volumes/Dept/
/bin/rm -rf /Volumes/Dept/

/sbin/umount -f /Volumes/Restricted/
/bin/rm -rf /Volumes/Restricted/

/sbin/umount -f /Volumes/Library/
/bin/rm -rf /Volumes/Library/

/sbin/umount -f /Volumes/user/
/bin/rm -rf /Volumes/user/

/sbin/umount -f /Volumes/archive/
/bin/rm -rf /Volumes/archive/

/sbin/umount -f /Volumes/U Drive - London/
/bin/rm -rf /Volumes/U Drive - London/

Is there anything else anyone can suggest before I give up with it,.

Cheers

Joe

An error occurred executing the policy "UK Mount Drives" on the computer
"petereid-ln2958".

Event log from the policy:

/usr/sbin/jamf is version 8.0 Executing Policy UK Mount Drives... Mounting afp://192.168.10.100/CasperShare
to /Volumes/CasperShare... Running Script 14-04-11 Map UK Drives.sh... Script Exit Code:1 Script Result: standard user logged in, run Login Script umount: /Volumes//Kingly/: not currently mounted umount: /Volumes/Dept/: not currently mounted umount: /Volumes/Restricted/: not currently mounted umount: /Volumes/Library/: not currently mounted umount: /Volumes/user/: not currently mounted umount: /Volumes/archive/: not currently mounted umount: /Volumes/U Drive - London/: not currently mounted Volume name will be created as Library... Attempting to mount smb smb://Kingly/Library using petereid's
kerberos ticket... Writing out launch agent
to /Users/petereid/Library/LaunchAgents/com.jamfsoftware.mapdrive.Library.plist

707 - com.jamfsoftware.mapdrive.Library Unloading com.jamfsoftware.mapdrive.Library... Loading com.jamfsoftware.mapdrive.Library... Volume name will be created as Restricted... Attempting to mount smb smb://Hanover/Restricted using
petereid's kerberos ticket... Writing out launch agent
to /Users/petereid/Library/LaunchAgents/com.jamfsoftware.mapdrive.Restricted.plist

705 - com.jamfsoftware.mapdrive.Restricted Unloading com.jamfsoftware.mapdrive.Restricted... Loading com.jamfsoftware.mapdrive.Restricted... Volume name will be created as Dept... Attempting to mount smb smb://Hanover/Dept using petereid's
kerberos ticket... Writing out launch agent
to /Users/petereid/Library/LaunchAgents/com.jamfsoftware.mapdrive.Dept.plist

708 - com.jamfsoftware.mapdrive.Dept Unloading com.jamfsoftware.mapdrive.Dept... Loading com.jamfsoftware.mapdrive.Dept... Volume name will be created as X... Attempting to mount smb smb://Kingly/X using petereid's
kerberos ticket... Writing out launch agent
to /Users/petereid/Library/LaunchAgents/com.jamfsoftware.mapdrive.X.plist 703 - com.jamfsoftware.mapdrive.X Unloading com.jamfsoftware.mapdrive.X... Loading com.jamfsoftware.mapdrive.X... Volume name will be created as London... Attempting to mount smb smb://air/U Drive - London using
petereid's kerberos ticket... Writing out launch agent
to /Users/petereid/Library/LaunchAgents/com.jamfsoftware.mapdrive.London.plist

706 - com.jamfsoftware.mapdrive.London Unloading com.jamfsoftware.mapdrive.London... Loading com.jamfsoftware.mapdrive.London... Volume name will be created as archive... Attempting to mount smb smb://archive-uk/archive using
petereid's kerberos ticket... Writing out launch agent
to /Users/petereid/Library/LaunchAgents/com.jamfsoftware.mapdrive.archive.plist

709 - com.jamfsoftware.mapdrive.archive Unloading com.jamfsoftware.mapdrive.archive... Loading com.jamfsoftware.mapdrive.archive... Volume name will be created as user... Error: Directory /Volumes/user is not empty.

Unmounting file server...

+ 60 Kingly Street, London, W1B 5DS
* helpdesk at bbh.co.uk
( +44 207 453 4983
4

www.bartleboglehegarty.com

This transmission is from BBH Partners LLP, it is confidential and intended
solely for the person or organisation to whom it is addressed. This
transmission may contain confidential information within its content or any
attachment. You should not copy, use or distribute in any way any of the
information contained within this transmission other than in accordance
with the prior written permission of an authorised BBH representative.

Partnership Information:
Registered name: BBH Partners LLP
Registered office: 60 Kingly Street London W1B 5DS
Place of registration: England and Wales
Registered number: OC355051

Although all messages/file attachments passing through this gateway are
scanned for viruses we cannot guarantee that any file is 100% virus-free.
/

![external image link](attachments/01df725e109a47ef8104f1a83d51cb86)

0 REPLIES 0