Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[NOT GENTO][NFS] Nested NFS mounts rights
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
leligeour
n00b
n00b


Joined: 27 Jan 2005
Posts: 13

PostPosted: Tue Oct 02, 2007 9:20 am    Post subject: [NOT GENTO][NFS] Nested NFS mounts rights Reply with quote

Hi,

I try to share /usr/portage and /usr/portage/distfiles over nfs (xen).
One host exports /usr/portage with rw to one host (rsync server, syncing to the outside world) and ro to all the others
This same host export /usr/portage/distfils with rw to all the hosts.

When mounting on the rsync server (rw on both /usr/portage and /usr/portage/distfiles) all is fine
But when mounting on clients (ro on /usr/portage and rw on /usr/portage/distfiles), /usr/portage/distfiles is mounted with rw rights but when touching a file in this directory system tells:
Code:
touch: cannot touch `/usr/portage/distfiles/toto': Read-only file system
Back to top
View user's profile Send private message
kwalo
n00b
n00b


Joined: 21 Feb 2007
Posts: 20
Location: Poland

PostPosted: Tue Feb 19, 2008 12:42 pm    Post subject: Reply with quote

You need to add no_root_squash option to /etc/exports file and reload nfs daemon.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum