Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please
Below are the configs
/etc/exports on host
Code:
/home/woodnt/Homeschool 192.168.1.0/24(rw,async,no_root_squash)
/home/share/HomeSchool 192.168.1.0/24(rw,async,no_root_squash)
/HomeSchool 192.168.1.0/24(rw,async,no_root_squash)
/home 192.168.1.0/24(rw,async,no_root_squash)
/ 192.168.1.0/24(rw,async,no_root_squash)
mounts on client
Code:
toshiba-laptop:/home/woodnt/Homeschool on /mnt/mnt1 type nfs (rw,addr=192.168.1.54)
toshiba-laptop:/home/share/HomeSchool on /mnt/mnt2 type nfs (rw,addr=192.168.1.54)
toshiba-laptop:/HomeSchool on /mnt/mnt3 type nfs (rw,addr=192.168.1.54)
toshiba-laptop:/ on /mnt/mnt4 type nfs (rw,addr=192.168.1.54)
toshiba-laptop:/home on /mnt/mnt5 type nfs (rw,addr=192.168.1.54)
on the host machine, /bin and /home have the same permissions:
Code:
woodnt@toshiba-laptop$ ls -dl home bin
drwxr-xr-x 2 root root 4096 2009-12-22 23:21 bin
drwxr-xr-x 16 root root 4096 2009-12-23 20:45 home
also on the host machine /home/woodnt and /HomeSchool have the same permissions:
Code:
woodnt@toshiba-laptop$ ls -ld /home/woodnt /HomeSchool/
drwxr-xr-x 2 woodnt woodnt 4096 2010-01-08 18:48 /HomeSchool/
drwxr-xr-x 95 woodnt woodnt 4096 2010-01-08 20:21 /home/woodnt
Also, these have the same permissions on the host machine.
Code:
woodnt@toshiba-laptop$ ls -ld /bin/bash /home /home/2009-12-22-22-img-of-os/ /home/2009-12-22-22-img-of-os/parts
-rwxr-xr-x 1 root root 917960 2009-09-14 00:08 /bin/bash
drwxr-xr-x 16 root root 4096 2009-12-23 20:45 /home
drwxr-xr-x 2 root root 4096 2009-12-22 16:34 /home/2009-12-22-22-img-of-os/
-rwxr-xr-x 1 root root 5 2009-12-22 16:34 /home/2009-12-22-22-img-of-os/parts
From the client:
Code:
woodnt@luke-netbook:/mnt/mnt4$ ls -ld bin bin/bash
drwxr-xr-x 2 root root 4096 2009-12-22 23:21 bin
-rwxr-xr-x 1 root root 917960 2009-09-14 00:08 bin/bash
woodnt@luke-netbook:/mnt/mnt4$ ls home
woodnt@luke-netbook:/mnt/mnt4$
And I can see /bin, everything in /bin like /bin/bash, but not /home and any home contents.
I have the same GID and UID on both boxes (1000, not that that matters).
On the client with everything mounted as above, I can:
ls the contents of /bin, /home (via /mnt/mnt5), /, /home/woodnt/Homeschool/, /home/share/HomeScool, and /HomeSchool.
When I am on the mountpoint /mnt/mnt4 where the whole root directory is mounted and I " $ ls /mnt/mnt4/home " I get bupkis. Nada. Zilch.
Why can I see /home mounted on /mnt/mnt5 but not as a subdir of / when from the /mnt/mnt4?
I'm the same user in the same group logged into the same mountpoints on every one, but I can see inside the host /home when it is mounted directly, but not when it is mounted as root and cd'd too.
What gives?
Thanks for the help in advance,
Narnie