Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running a Fedora Core I box (let's say F1B) and need to perform the following task:
There is a computer running Solaris 8, let's say S8S (Solaris 8 Server). On that server I have a directory which I want to import throgh NFS (let it be d). As you know, the owner of d is u and I only want to give write access to u (in the S8S)
I configured the shre file in the S8S but when I import d to F1B, I do not have write access, so what am I doing wrong? I searched and there is no way to tell the mount command to import the directory as a user on the remote server.
first the read/write permissions must be set in hosts.allow as well (if you have RO in hosts.allow, you will have trouble mounting R/W...).
Then, nfs will preserve the directory tree ownerships and permissions, so your users must have the same UID (and GID) on both machines.
First, is it safe to assume you specified the export as writable (rw) in your /etc/exports on the server?
Second, did you deal with the user ID issue? NFS mapps the numeric user IDs of the files on the server to the database of local users on the client. So, if user joeblow is UID 1001 on the server, but joeblow is UID 1003 on the client, then joeblow will not be able to write to his own files. The two ways I know how to deal with this are to make sure all users have the same UIDs on both boxes, or to use a map file, which you can read about in the man page for exports(5).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.