Hi All,
ok, I added a new user, coolboarderguy, to the server, and gave it
ownership of /home/batmanbegins/nfsshare and then mounted it onto the
client and did a check of the ownership of the dir from on the client...
[root@localhost ~]# ls -ld /home/coolboarderguy/nfsshare
drwxr-xr-x 2 coolboarderguy coolboarderguy 4096 Aug 16 15:23
/home/coolboarderguy/nfsshare
[root@localhost ~]# mount 192.168.168.10:/home/batmanbegins/nfsshare
/home/coolboarderguy/nfsshare
[root@localhost ~]# ls -ld /home/coolboarderguy/nfsshare drwxr-xr-x 2
root root 4096 Aug 16 15:03 /home/coolboarderguy/nfsshare
[root@localhost ~]# umount /home/coolboarderguy/nfsshare You have new
mail in /var/spool/mail/root
below is after I made the changes on the server..
[root@localhost ~]# mount 192.168.168.10:/home/batmanbegins/nfsshare
/home/coolboarderguy/nfsshare
[root@localhost ~]# ls -ld /home/coolboarderguy/nfsshare drwxr-xr-x 2
mysql mysql 4096 Aug 16 15:03 /home/coolboarderguy/nfsshare
[root@localhost ~]# umount /home/coolboarderguy/nfsshare
[root@localhost ~]# ls -ld /home/coolboarderguy/nfsshare
drwxr-xr-x 2 coolboarderguy coolboarderguy 4096 Aug 16 15:23
/home/coolboarderguy/nfsshare
[root@localhost ~]# mount 192.168.168.10:/home/batmanbegins/nfsshare
/home/coolboarderguy/nfsshare
[root@localhost ~]# ls -ld /home/coolboarderguy/nfsshare drwxr-xr-x 2
mysql mysql 4096 Aug 16 15:03 /home/coolboarderguy/nfsshare
[root@localhost ~]#
why on earth is it showing mysql as the owner after mounting..? Weird.
Cheers.
Mark Sargent.