[opensuse] NFS Access Issue
With several computers here all running Firefox, and using Dejaclick to record and play macros, it occurred to me that it would be really convenient for them all to save macro files to an NFS share on the domain controller. Thus, when I'd record a complicated new macro on any of the machines, I'd be able to save it as a file there, and later load it and save it as a bookmark on any of the connected machines. I'm fairly new to NFS, however, and am obviously doing something wrong, as I can't write to that share from any of the other computers. On the server, in the NFS server configuration, I've removed "ro" from the options for that share. I assumed that meant that it would not be shared as "read only". And on the server, I set the permissions for that recordings folder to rwxrwxrwx. (It's behind two firewalls.) I can *see* the xml files there from an NFS client computer, and I can copy them from the server to the client. But I can't write a file to the server. What else do I need to do in order to allow writing to that NFS share? Thanks in advance for any clues! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 02 February 2008 21:24:22 Jerry Houston wrote:
With several computers here all running Firefox, and using Dejaclick to record and play macros, it occurred to me that it would be really convenient for them all to save macro files to an NFS share on the domain controller. Thus, when I'd record a complicated new macro on any of the machines, I'd be able to save it as a file there, and later load it and save it as a bookmark on any of the connected machines.
I'm fairly new to NFS, however, and am obviously doing something wrong, as I can't write to that share from any of the other computers.
On the server, in the NFS server configuration, I've removed "ro" from the options for that share. I assumed that meant that it would not be shared as "read only". And on the server, I set the permissions for that recordings folder to rwxrwxrwx. (It's behind two firewalls.)
I can *see* the xml files there from an NFS client computer, and I can copy them from the server to the client. But I can't write a file to the server. What else do I need to do in order to allow writing to that NFS share?
That should be enough. What do you see when you run cat /proc/mounts on the client? Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
I can *see* the xml files there from an NFS client computer, and I can copy them from the server to the client. But I can't write a file to the server. What else do I need to do in order to allow writing to that NFS share?
That should be enough. What do you see when you run
cat /proc/mounts
on the client?
Turns out there's nothing suspicious there. (I sent a copy just to Anders, forgetting the odd way this list is set up for reply-to.) So, in desperation, I decided to create yet another new folder, totally separate from my ~/.Mozilla/Firefox/<profile>/DejaClick/recordings folder, and share that via NFS. I figured even the server's recordings could reside in the common folder, instead of in their default location. That didn't work, either. Apparently, nothing I can do will allow me to write to that shared folder using NFS. I'm beginning to wonder what its purpose even is. I can do what needs done using Samba, but it annoys me that my Linux machines should have to depend on Windows technology for file sharing! On the client, the folder I've been talking about looks like this: drwxrwxrwx 2 root root 4096 2008-02-02 14:03 macros yet, I can't write to it. If anyone has more ideas for things I should check on, please let me know. This started out as a simple task. It's turned into a grail quest. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 3 Feb 2008, Jerry Houston wrote:
That didn't work, either. Apparently, nothing I can do will allow me to write to that shared folder using NFS. I'm beginning to wonder what its purpose even is. I can do what needs done using Samba, but it annoys me that my Linux machines should have to depend on Windows technology for file sharing!
On the client, the folder I've been talking about looks like this:
drwxrwxrwx 2 root root 4096 2008-02-02 14:03 macros
yet, I can't write to it. If anyone has more ideas for things I should check on, please let me know.
This started out as a simple task. It's turned into a grail quest.
Please check the contents of your /etc/exports on the nfs server. You should have the 'rw' option set. See 'man exports' for full details. If you are still stuck please post the contents of /etc/exports to this list. -- Regards, Graham Smith -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2008-02-02 at 12:24 -0800, Jerry Houston wrote:
On the server, in the NFS server configuration, I've removed "ro" from the options for that share. I assumed that meant that it would not be shared as "read only".
Removing "ro" doesn't make it "rw". RTFM: man exports: rw Allow both read and write requests on this NFS volume. The default is to disallow any request which changes the filesystem. This can also be made explicit by using the ro option.
And on the server, I set the permissions for that recordings folder to rwxrwxrwx.
Don't. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHpbfXtTMYHG2NR9URAsmaAJ9ZP5BFlOz0A/7RIgPg7KgA0jcxGQCghHz9 DnIqGGb9S+tjTzKSmp30ADI= =edlv -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
And on the server, I set the permissions for that recordings folder to rwxrwxrwx.
Don't.
Thanks for your input, as always, Carlos. Remember, I set those permissions when I was still trying to figure out how to get the exported folders to be writable from a client. Are you implying that permissions can be restricted on the server directory, and clients will still be able to write to it as long as the exported share options are set to "rw"? If so, that's indeed good to know. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-02-03 at 08:10 -0800, Jerry Houston wrote:
Carlos E. R. wrote:
And on the server, I set the permissions for that recordings folder to rwxrwxrwx.
Don't.
Thanks for your input, as always, Carlos. Remember, I set those permissions when I was still trying to figure out how to get the exported folders to be writable from a client.
Are you implying that permissions can be restricted on the server directory, and clients will still be able to write to it as long as the exported share options are set to "rw"? If so, that's indeed good to know.
No, the permissions on the client side can not override those of the server. However, you can export rw a directory, and mount it ro on the client. The reverse is not possible, though, and that was what you were trying: it was exported as ro, which is the default, so you can not mount it rw. If you mean the "user,group,other" permissions, those are set on the files, they are not modified by nfs (with the exception of *_squash and a few more details). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHphUBtTMYHG2NR9URAqDkAJ91Q7Oc3i/XUhS0yDzt5C1P4xrAfQCfQDsK npLSaFD0/QxeJUTfjnqU5fc= =BDnD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Johansson
-
Carlos E. R.
-
Graham Smith
-
Jerry Houston