Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

NFS problem: can't write or access index.php

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2004, 01:04 PM
Default NFS problem: can't write or access index.php



Hi.

I am trying to mount a NFS share on a Mandrake9.2 box being exported from a
RH9 box.

Here's my /etc/export on the redhat box:
/var/www/html/squirrelmail/
*.mydomain.com(rw,sync,all_squash,anonuid=500,anon gid=500)

/var/www/html/squirrelmail/ is a symlink to /usr/share/squirrelmail/. I am
using the RedHat NFS Server Config Tool.

/etc/fstab on the Mandrake box:
redhatbox.mydomain.com:/usr/share/squirrelmail
/var/www/html/nuke/html/sqmail nfs user,rw,rsize=8192,wsize=8192,soft 0 0

On the redhatbox, john:john-->500:500; Mandrake: john:john->501:501

Mounting works just fine. I can access the mounted directory.

Here's my problem: I can not write to it. Also, when I try to point my
browser to the shared directory
(http://localhost/nuke/html/sqmail/index.php), I get a "Forbidden" error:
You don't have permission to access /nuke/html/sqmail/index.php on this
server.

I have tried changing ownership of /usr/share/squirrelmail to john:john. I
have also tried getting rid of the anonuid/gid parameters (and unchecking
the "Treat all client users as anon users).

I am not sure what else to do.

Any ideas?

Thanks,
John


--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.
--Linus Torvalds


Nick E.
Reply With Quote
Reply

Tags
access, indexphp, nfs, problem, write

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.