Fwd: How to mount a windows folder programmatically?
Fwd: How to mount a windows folder programmatically?
- Subject: Fwd: How to mount a windows folder programmatically?
- From: "Xia, Wen" <email@hidden>
- Date: Thu, 17 Jun 2004 09:08:36 -0700
Thank you for your response.
We have a MS SQL2000 server named "ntrk1" with IP address 123.456.789.000,
my application needs to read/write files from/to certain folders of ntrk1.
In order to do that, after deploying the application on xserve1(with
Jaguar), we will mount ntrk1 on xserve1. Usually, the admin of xserve1 will
mount the folder through Finder -> Connect To Server, and put in
"smb://123.456.789.000" as the server address, after authentication (put in
the user id and password to access ntrk1), the list of shared folders of
ntrk1 will be displayed and one of them will be selected.
After the admin finishes his job, there is a directory under /Volumes on
xserve1 as follows:
drwxr-xr-x 1 kd6cji wheel 16384 Jun 7 08:22 123.456.789.000
And in the application, I use "/Volumes/123.456.789.000/remoteDirName" to
access the remote folder.
But after we bought a new xserve with Panther, the application stopped
working. After mounting the remote folder the same way, somehow the
directory under /Volumes looks like:
drwx------ 1 kd6cji admin 16384 7 Jun 08:22 123.456.789.000
If I mounted the folder on my development mac, I will have full access
rights too. But only the person who mounted the folder is able to read and
write. We tried to use chmod to change the permission of the directory, but
in vain. There is no error message to the command chmod, but just nothing
is changed.
I wonder what is the solution to this problem. Any thoughts? Appreciate
your help.
Wen
Begin forwarded message:
> From: wojingo <email@hidden>
> Date: June 17, 2004 6:52:49 AM PDT
> To: "Xia, Wen" <email@hidden>
> Cc: Apple "Mailing List (E-mail)" <email@hidden>
> Subject: Re: How to mount a windows folder programmatically?
>
> On Wed, 2004-06-16 at 01:59, Xia, Wen wrote:
>
> Here is the problem after we migrated xserve to Panther: the mounted
> drives
> which are windows folders can no longer be accessed by the
> application.
> Only the user who mounted the drive is able to read/write the
> folder, other
> users have zero authority to access the folder.
>
> Has anyone encounter the same problem? How to resolve it? Is there
> a way
> to programmatically mount a windows folder?
>
>
> Hi,
>
> Isn't this just a directory permission issue?
>
> When you say 'windows folders' do you meant you nfs? mounted the
> filesystem on a remote windows box? Could you describe your setup in a
> bit more detail?
>
> I think you might be able to add the user that is running the
> application to the group that can read/write/execute files in the
> mounted directory.
>
> If this doesn't work, pretend someone else told you. :)
>
> HTH.
> -
> shaun
>
>
>
>
> Thanks in advance.
> Wen
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.