LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-12-2004, 09:37 AM   #1
top001
LQ Newbie
 
Registered: Feb 2004
Location: berlin
Distribution: suse
Posts: 1

Rep: Reputation: 0
NFS - group permision problems on client side


Hello,

fiollowing configuration:
Server: kernel 2.4.22, /etc/exports "/export/pic 192.168.0.0/20(rw,no_root_squash)"
Client: kernel 2.4.22; mount -o rw server:/export/pic /mnt/pic

/export/pic/animate is owned by "mickey" group "disney" permission "770"

/etc/group and /etc/passwd are the same on both machines.

on Client machine:
When user "goofy" member of "disney" tries to access /mnt/pic/animate he gets a permision denied.
On the contrary on Server
user "goofy" can access /export/pic/animate

The behaviour for user goofy depends on the actual location. How can that be? User goofy is the same on Server and on Client.
How can I overcome this permission problem

Thanks
Chris
 
Old 02-12-2004, 02:08 PM   #2
nikolaus
LQ Newbie
 
Registered: Feb 2004
Location: Cologne / Germany
Distribution: rh9, rh-adv3, suse9, sles8
Posts: 16

Rep: Reputation: 0
NFS permissions

Carefully check Your settings within /etc/exports:

/export/pic 192.168.0.0/20(rw,no_root_squash)

The netmask is at least somewhat unusual. Did You really intend a 20bit mask instead of the (implicit) 24bit mask?
If You did not intend the 20bit mask, change the line to
/export/pic 192.168.0.0/24(rw,no_root_squash)
or better to
/export/pic 192.168.0.0(rw,no_root_squash)

Reexport (exportfs -av) and test again.

Hint:
On the client, you can easily check a servers exports using
/sbin/showmount -e servername
If showmount fails, either the servers nfs service or the servers exports or the clients nfs utilities have not been set up correctly
 
  


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
client side NFS files? bobbens Linux - Networking 3 11-01-2004 02:52 AM
client-side firewall setup that works with NFS niverson Linux - Security 5 02-21-2004 11:13 PM
help with client side NFS-firewall setup and server side NIS-firewall setup niverson Linux - Networking 3 02-02-2004 08:52 AM
Client side firewall setup for NFS niverson Linux - Networking 0 12-31-2003 02:00 PM
NFS: Empty directories on Client side mjgeiger Linux - Networking 8 12-04-2002 03:02 PM


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

Main Menu
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