Skip to contentSkip to conversation

nfs ownership

DISCUSSION Andrew Langdon-Davies 2 participants 2 messages Jan 22, 2003

lore
Share & tools
lore
#0 lore raw

I was using Suse 8.0 on two machines, sharing certain directories via NFS, with no problems.
Having changed one machine to Mandrake 9.0 (for the sake of variety), I now find I don't own the files on the other machine. Mandrake says the owner of the files on the Suse machine is 500; Suse says the owner of the files on the Mandrake machine is 501. Where do I start changing things? TIA
Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 9 lines · Andrew Langdon-Davies

I was using Suse 8.0 on two machines, sharing certain directories via NFS, with no problems.
Having changed one machine to Mandrake 9.0 (for the sake of variety), I now find I don't own the files on the other machine. Mandrake says the owner of the files on the Suse machine is 500; Suse says the owner of the files on the Mandrake machine is 501. Where do I start changing things? TIA
Andrew

The user id have to be the same on both machines if you want to share files with a rwx------ permission (only owner can read, write, execute, no permission to others). One way would be to delete user on one machine and create it new with matching id. Very likely there will be other ways for matching the user id, too (NIS?).
When you're done, chown -R the files from the user you deleted if you want to keep them under the new name.

Arno

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs