1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Who is the Owner?

Discussion in 'General' started by Keith, Mar 12, 2010.

  1. Keith

    Keith New Member

    Messages:
    19
    Thanks Received:
    0
    I mount /mnt on my laptop (host bozo). I touch me.mine and then I type ls -l and I find that the file is owned by 4294967294. I would like to know why this number is generated since it doesn't correspond to the obvious. Is there a way to show file ownership is bozo as that is my laptop's hostname? But I guess that won't matter much when I log in as a user instead of being logged in as root (on the laptop)--or would it? While I'm waiting for a book that my unlock the NFS secrets I'll just end this with your truly, Keith.
     
  2. fronclynne

    fronclynne New Member

    Messages:
    1,297
    Thanks Received:
    167
    4294967294? Do UIDs go that high? You mean 65534? I'm going to hazard that mapall=nobody might be set on the server.
     
  3. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,765
    Thanks Received:
    1,870
    As an aside: the owner is never your laptop's hostname. Hostnames have no rights. It's the account you touch the file as (or it should be). It depends on the implementation whether the numeric id corresponds to the same user on the server and the client.
     
  4. gordon@

    gordon@ New Member Developer

    Messages:
    404
    Thanks Received:
    82
    Assuming you are talking about NFS and you attempted to do this as the root user on your laptop. The exports(5) page holds the secret.

    -2 coerced into an unsigned integer on a 32-bit platform equals 4294967294.
     
    Keith and fronclynne thanked for this.