Re: NFS use



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.

--

Bill will have to take Linux from my cold, dead flippers.

-Tux.
.



Relevant Pages

  • RE: Got Postfix now what?
    ... "mail server redhat" on google should give you something. ... > remotely either over the web or through IMAP or POP3. ... imap, postfix and fetchmail. ... poll pop.yourISP protocol pop3 username "user1" password "password" is ...
    (Fedora)
  • Re: [NFS] [PATCH 2/7] NFS: if ATTR_KILL_S*ID bits are set, then skip mode change
    ... how exactly is it that you have the correct creds ... user1 and user2 are both members of group ... If the server has root squashing enabled, ... In that case, user1's operations would also fail, which is even more ...
    (Linux-Kernel)
  • Re: NFS use
    ... I have created a user called 'user1' ... I Mount the server on the local machine ... But any folder created on /mnt/backuser1 WILL NEVER BE FROM user1, ...
    (linux.redhat)
  • Re: Record locking...
    ... > User1 does a retrieve of information, with the intention of updating it> later. ... At the same time, User2 does a retrieve of information, with the> intention of updating it later. ... > the row on the web server, and then calls an update stored procedure. ... > We can of course add a column to every table that has to support this> "locking", but I was wondering if SQL Serversystems support some kind of ...
    (microsoft.public.sqlserver.programming)
  • Re: NFS use
    ... I have created a user called 'user1' ... I Mount the server on the local machine ... But any folder created on /mnt/backuser1 WILL NEVER BE FROM user1, ...
    (linux.redhat)