Quote:
Originally Posted by jay73
You can always use sudo if you don't want to be root.
|
True, but that's not what I had a question about. I was just saying that using "sudo whomai" will return root, and doesn't, AFAIK, address my issue.
My issue was that I don't know how to verify what user I'm mounting to the remote disk as. The behavior is as if I'm mounting as some user other than "worker" even though I'm using the option "-o user=worker", and not using that option will fail. Also, using a bogus user "-o user=foo" will fail, giving
mount: block device //192.168.1.100/import is write-protected, mounting read-only
mount: cannot mount block device //192.168.1.100/import read-only
So, it dawned on me that I could touch a file and see who the owner is. What I see, appears about right to me. It, and all the files in //192.168.1.100/import are owned by "libuuid" which is the user with that uid on linux server 2.
Does the fact that the username for uid 100 is different on server 1 and server 2 have any bearing?