LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-14-2004, 11:22 AM   #1
Devils_Guardian
LQ Newbie
 
Registered: Oct 2004
Location: Canada
Distribution: Debian... of course... got a woody too?!
Posts: 10

Rep: Reputation: 0
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.
 
Old 11-17-2004, 11:40 AM   #2
Devils_Guardian
LQ Newbie
 
Registered: Oct 2004
Location: Canada
Distribution: Debian... of course... got a woody too?!
Posts: 10

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an nfs share - Permission Denied doctorwebbox Linux - Networking 5 05-30-2005 02:45 AM
Mounting via CD icon works, but via command line = permission denied nmoog Linux - Newbie 6 03-07-2004 03:26 AM
NFS mounting : Permission denied Bahador Linux - Networking 3 07-18-2003 05:33 AM
NFS Problem mounting 2 systems:Permission Denied by server meng_en Linux - General 3 09-24-2002 12:24 AM
permission denied when mounting nfs directory keirobyn Linux - Networking 3 01-29-2002 01:43 AM


All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration