Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mount_smbfs - Finder - write access mismatch



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >mount_smbfs - Finder - write access mismatch (From: "Van Vlierberghe, Steven" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.