Re: NFS use
- From: Steve <steve@xxxxxxxxxxxxx>
- Date: Wed, 27 Feb 2008 17:02:05 +0000
Johnny Rebel wrote:
Steve wrote:
Hi,
I don't understand one point on NFS.
I have 2 machines : A (server) B (Local machine)
In both case, I have created a user called 'user1'
I Mount the server on the local machine
local machine:
mkdir /mnt/backupuser1
chown user1 /mnt/backuser1
chgrp user1 /mnt/backuser1
chown 700 /mnt/backuser1
*On the server, I have
RW,no_root_Squash on the /home/user1
If I mount the folder :
mount 192.xxx.xx.xx:/home/user1 /mnt/backupuser1 -> fine
But any folder created on /mnt/backuser1 WILL NEVER BE FROM user1, but a
number 507 (for instance)
Why User1, who wants to write into a folder owned by user1, cannot
create files BELONGING TO user1 ????
thanks for your help
Steve
Hey,
From what I understand from what you are saying, it is probably that
user1 has a different uid/gui on each system. See your /etc/passwd and
the third/fourth fields. These should be the same. This is part of the
reason a lot of systems implementing NFS, also implement NIS!
JR.
Hi Johnny,
Thank you for your reply.
I've created another user : user2 with the same name, same password, same ID
I don't use any NIS server (I just try to inmplement it.. it doesn't
work. I will investigate)
But the only problem is that:
*Owner, group are OK
* But on the server, rights are 700
If I create a file or folder, from the local machine. it will be 744 ????
Any idea why ??
Cheers
.
- Follow-Ups:
- Re: NFS use
- From: Johnny Rebel
- Re: NFS use
- References:
- NFS use
- From: Steve
- Re: NFS use
- From: Johnny Rebel
- NFS use
- Prev by Date: Re: Booting to rescue mode, but no /mnt/sysimage
- Next by Date: Re: Booting to rescue mode, but no /mnt/sysimage
- Previous by thread: Re: NFS use
- Next by thread: Re: NFS use
- Index(es):
Relevant Pages
|