Re: Mount volume
Re: Mount volume
- Subject: Re: Mount volume
- From: "Christian Roth" <email@hidden>
- Date: Thu, 19 Feb 2009 01:57:16 +0100
>In what sense exactly? (It has thus far served my needs under Panther, Tiger
>and Leopard.)
In that running two mount volume commands for two different shares on
the same target computer (server) requiring credentials fail most of the
time for the second (and more) share.
I had a login AppleScript script that would mount several shares from my
server. It worked flawlessly in 10.3, failed to work most (if not all)
times in 10.4, and works again in 10.5.
Here's the original text of the bug I submitted:
--snip--
Summary:
Calling the AppleScript command "mount volume" twice in succession gives
an error message "The volume "some object" could not be found" on the
second call.
Steps to Reproduce:
Create an AppleScript like this one:
mount volume "afp://login:email@hidden/iTunes"
mount volume "afp://login:email@hidden/Fotos"
The first mount will succeed, the second will not.
Expected Results:
Two volumes should be mounted via AFP from the specified server.
Actual Results:
The first call succeeds consistently, the second call consistently gives
an error. The execution protocol in ScriptEditor reads as follows:
tell current application
mount volume "afp://login:email@hidden/iTunes"
file "iTunes:"
mount volume "afp://login:email@hidden/Fotos"
"Das Volume ?some object" wurde nicht gefunden."
Regression:
The same script worked flawlessly in 10.3.9, but does no longer work in
10.4.2.
The workaround that some people seem to have found is to rewrite the
script as follows:
mount volume "afp://login:email@hidden/iTunes"
mount volume "afp://192.168.1.111/Fotos"
This means you may not rely on DNS and may not specify a login/password
combination on the second call.
This may pose even a security risk, as it looks like someone could mount
a volume without knowing login+password combination simply by executing
a mount volume AppleScript command shortly after an authenticated mount
volume command has been successfully issued (though I haven't tested
this thoroughly).
Notes:
The workaround was described by Greg Turnquist on June 10, 2005 on the
applescript-users Mailing List. You'll find a thread on this issue there
as well with subject "Mount volume flaky/broken in Tiger?".
--snip--
HTH, chris.
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden