Re: mount_smbfs - Finder - write access mismatch
Re: mount_smbfs - Finder - write access mismatch
- Subject: Re: mount_smbfs - Finder - write access mismatch
- From: Alexey Proskuryakov <email@hidden>
- Date: Wed, 27 Oct 2004 13:39:26 +0400
On 27.10.2004 12:21, "Van Vlierberghe, Steven" <email@hidden>
wrote:
> ( Strange also is: if I mount the same volume (with same credentials) with
> the Finder (Go-Connect to Server-Address smb://trapcd039/JobContainer), then I
> can copy onto the share using the Finder. )
>
> Can somebody explain, or better, does anyone has a tip how to solve this ??
> Why does the Finder think that the share is not writable ? (it should Think
> Differently)
I'd try mounting the volume in a different way - by sending a "mount
volume" Apple Event to self (or Finder, if the former doesn't work in Java).
I'm afraid that I don't have any sample code for Java, but I used this
form C++, and it worked.
> mount volume: Mount the specified AppleShare volume (defined in:
> StandardAdditions.osax)
> mount volume string -- the name or URL path (starting with afp://¹) of
> the volume to mount
> on server string -- the server on which the volume resides
> [in AppleTalk zone string] -- the AppleTalk zone in which the server
> resides
> [as user name string] -- the user name with which to log in to the
> server; omit for guest access
> [with password string] -- the password for the user name; omit for
> guest access
>
This is a bit scary, because the only documented protocol is AFP, but it
works :). Still, this feels safer than executing /sbin/mount_smbfs.
> PS: I am only an occasional Mac developer: if this is the wrong mailling list,
> can someone point me to the appropriate one ? Thanks.
For my solution, applescript-users or applescript-implementors would be
somewhat more appropriate, not sure about your question :)
- WBR, Alexey Proskuryakov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden