LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 10: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, 10: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



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 01:45 AM
Mounting via CD icon works, but via command line = permission denied nmoog Linux - Newbie 6 03-07-2004 02:26 AM
NFS mounting : Permission denied Bahador Linux - Networking 3 07-18-2003 04:33 AM
NFS Problem mounting 2 systems:Permission Denied by server meng_en Linux - General 3 09-23-2002 11:24 PM
permission denied when mounting nfs directory keirobyn Linux - Networking 3 01-29-2002 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Open Source Consulting | Domain Registration