Re: Open file on a Mounted Share on Mac OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 12 September 2006 16:45, Rahul S. Johari wrote:
> If I hit 'Get Info' on the share folder, a file within that folder, or even
> the DBF I'm trying to open... Mac OS X tells me that I have 'Read & Write'
> access to it. Basically All permissions have been provided to the Mac OS X
> user for that share.
>
> This is the error I get:
> Warning: dbase_open() [function.dbase-open]: unable to open database
> /Volumes/foresight/2qc0831.dbf in
> /Library/WebServer/Documents/site.com/folder/file.php on line 29
>
> On 9/12/06 5:46 PM, "Ray Hauge" <ray.hauge@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > On Tuesday 12 September 2006 16:33, Rahul S. Johari wrote:
> >> In my Windows 2003 Server I've given the Mac OS X user all the
> >> permissions possible for that Share.
> >>
> >> Is there something I have to do in php as far as permissions are
> >> concerned?
> >>
> >> On 9/12/06 5:31 PM, "John Nichel" <john@xxxxxxxxxxxx> wrote:
> >>> Rahul S. Johari wrote:
> >>>> Ave,
> >>>>
> >>>> I¹m getting really frustrated with this. How do I get PHP to open/read
> >>>> a file which is on a Share, mounted on Mac OS X.
> >>>>
> >>>>
> >>>> My Mac OS X is connected to a Windows 2003 Server... A Shared Folder
> >>>> remains mounted on my Mac OS X and I need PHP to read a file off that
> >>>> share. But it won¹t! I just can¹t get the path to work!!
> >>>>
> >>>> I¹ve tried ³/Volumes/Server/file.dbf² ..... I¹ve tried to create
> >>>> Aliases (shortcuts)... But nothing seems to work! What¹s the trick?
> >>>> How can I get this to work? Any suggestions?
> >>>
> >>> Permissions?
> >>
> >> Rahul S. Johari
> >> Supervisor, Internet & Administration
> >> Informed Marketing Services Inc.
> >> 500 Federal Street, Suite 201
> >> Troy NY 12180
> >>
> >> Tel: (518) 687-6700 x154
> >> Fax: (518) 687-6799
> >> Email: rahul@xxxxxxxxxxxxxxxxxxxx
> >> http://www.informed-sources.com
> >
> > This may be due to my huge lack of experience with Mac OSX, but I would
> > think it has its own permissions for files.  I'm not sure if they stuck
> > with the BSD type file permissions or implemented their own.  I'd check
> > that first.
> >
> > If that doesn't work, what is the error that you get?  "Access Denied"?
>
> Rahul S. Johari
> Supervisor, Internet & Administration
> Informed Marketing Services Inc.
> 500 Federal Street, Suite 201
> Troy NY 12180
>
> Tel: (518) 687-6700 x154
> Fax: (518) 687-6799
> Email: rahul@xxxxxxxxxxxxxxxxxxxx
> http://www.informed-sources.com

Out of curiosity, can you do an fopen() on it?  Maybe something happened to 
the structure of the file...

-- 
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux