Mounting server volumes
Mounting server volumes
- Subject: Mounting server volumes
- From: Neil Laubenthal <email@hidden>
- Date: Sat, 3 Feb 2007 10:30:05 -0500
Got a question about mounting multiple volumes from the same file
server. It's not working as it seems it should and I have no idea why.
My main work machine is an MBP but I have a file server (and old G4
running 10.4.8 and SharePoints. I created a share named Lurch on the
file server with SharePoints, set the owner to an admin account on
the server, and the group to a group I created on the server. The
group contains 2 usernames (non admin) on the server and these
usernames to not exist on the laptop.
I then created an applescript using the mount volume command as follows:
mount volume "afp://username:password@IP_of_server/Sharename/"
and set this script to run at login.
This has been working perfectly for years; the volume Lurch is always
mounted on the laptop.
I recently reorganized my backup routines for my laptop . . .and
created a second share named Jeeves on the server to run the backup
to. I don't want Jeeves to be always mounted but to be mounted and
dismounted when needed. SuperDuper can do this easily by running pre
and post job scripts . . .so all I needed was a script to mount Jeeves.
So . . .I basically created a duplicate script to the one to mount
the always mounted Lurch but changed the Sharename to Jeeves.
Username and password are the same, Jeeves is setup, shared, and
permissioned identically to Lurch.
The problem happens when I try to run the Jeeves script.
By itself . . .the Jeevves mount script works perfectly, as does the
Lurch mount script. However, if Lurch is already mounted then
running the Jeeves script gives some random combination of the
following:
-correctly mounts the volume
-gives an error dialog "Disk some object wasn't found" with Edit and
OK buttons.
-clicking on the OK button always gives an error dialog that says
"Open dictionary, unable to read the dictionary because it is not
scriptable"
-clicking on the OK button dismisses the dialog and sometimes mounts
the volume. Other times it just dismisses the dialog
I've done the following:
-verified that both scripts are correctly syntaxed
-verified that either script works correctly if neither volume is
mounted
-verified that the problem occurs with either volume mounted; i.e.,
if I mount the normal Lurch volume then try Jeeves . . .the scenario
described happens. If I dismount both, mount the Jeeves volume, and
try to mount the Lurch volume the same scenario happens.
Since there is already a volume mounted with the username/password
combination . . .shouldn't a second volume similarly mount correctly?
Does anybody have an idea what might be going wrong here? Do I need
to use a separate set of users/groups on the file server to mount the
second volume?
Thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden