LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS :: Permission denied after mounting, root works.. (https://www.linuxquestions.org/questions/linux-networking-3/nfs-permission-denied-after-mounting-root-works-254697/)

Devils_Guardian 11-14-2004 10:22 AM

NFS :: Permission denied after mounting, root works..
 
I have a server *Kernel 2.6.9 (192.168.1.100); and a client kernel 2.6.8(192.168.1.9). Both with a Debian unstable installation

// Here are my configuration files:

/etc/export ::
/mnt/fat 192.168.1.0/255.255.255.0(rw,no_root_squash)

The only reason I have no_root_squash in right now, because it was a test. I can actually log in as root and everything works fine. I don't want that though, I want to be able to mount/dismount/rw, to the network share.


/etc/hosts.allow ::

portmap:192.168.1.0/255.255.255.0
lockd:192.168.1.0/255.255.255.0
rquotad:192.168.1.0/255.255.255.0
mountd:192.168.1.0/255.255.255.0
statd:192.168.1.0/255.255.255.0


/etc/hosts.deny ::

portmap:ALL
ftp:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

I can mount the file-system OK, with root I can log in and whatever (after adding no_root_squash). With my normal user I get this:

robert@stinky:~/Desktop$ ls fat
ls: fat/drivers: Permission denied
ls: fat/Windowz: Permission denied
ls: fat/jayjennshare: Permission denied
ls: fat/bin: Permission denied

When I dismount, and chown, dhmod the directories (On server or client); the permissions and owner change back as soon as I mount it again.

It's prob simple, and I will be looking into it today, while at work, but if anyone can help me out that would be great, I wanna have this up and running by Tuesday.

Devils_Guardian 11-17-2004 10:40 AM

Still nothing....
 
Hola.... 63 people look at this and don't even have a response!

I still havn't got it worked out, but I guess I will post the results when I do have it working!


All times are GMT -5. The time now is 09:09 PM.