I'm sure this has probably been asked and answered a million times but I can't find the right wording to search on because I don't understand the problem.
Here's the setup:
2 computers (A and B)
Computer A has a Samba share (called 'shared') that anyone (everyone) can upload a file to.
From computer B I connect to the share on computer A and copy a file from B to A.
When I go to do something to the file on computer A it has the lock symbol and permissions say owner 'nobody' group 'nogroup'.
Here's my confusion. On both computer A and computer B I am using the same credentials so if my user name and password are the same on both computers, why to I have to chown it? Why does it change to 'nobody:nogroup'. If jdoe owns the file on computer b doesn't jdoe own the file on computer A?
NOTE: This is NOT a domain. This is my own simple home network with 2 Ubuntu machines with the same login/password credentials.
My guess?? I suppose that a login name has more to it that I can't see (don't understand) and that ownership of a file is not solely based on the login name. Perhaps there's hash or metadata or something that is unique - even with the same user names. Or maybe Samba strips unix credentials.
I guess the easiest place to start is: Is this a Samba thing or a linux security thing (if that even makes sense).
Feed the n00b!
Thanks.
Bookmarks