NFS shared directory problem
Hello,
Here's what I need to have happen:
I have an Ubuntu 7.10 server setup running nfs server. I have a directory on the server called "shared" (permissions set to 777). This directory needs to be shared across the network AND must allow read and write access to all users of the "share" group. Users of the "share" group must also be able to edit each others documents in the "shared" directory.
This is what is happening:
On the client (Ubuntu 7.10 desktop)I have set up the server's "shared" directory to mount (through fstab) at bootup to the "shared" (permissions set to 777) directory on the client.
Here's the fstab line"
192.168.0.210 /shared /shared nfs rw,user,noauto,exec 0 0
The problem that I am having is this: When user_1 creates a document and saves it in the "shared" directory on the server, user_2, user_3, etc... need to be able to view and edit this document. But unfortunately user_2, user_3, etc... cannot edit the document. They can view it, but not edit it.
What am I missing here? What didn't I set up properly? Obviously somewhere I don't have the file permissions set right for the shared directory but I can't figure out where or what I need to do to share this directory with all users of the "share" group and allow them all read and write access to every document enclosed in the directory. Currently all users can read and write to the directory (their own files), but they cannot edit files created by other users.
Is there a way to strip the file permissions from each document as it is saved to the "shared" directory? Or is it possible to set the file permissions of each document to 777 as they are saved to the "shared" directory maybe through a setting in the fstab line?
Any help with this situation would be greatly appreciated.
Thanks
LP
Last edited by '58LesPaul; 04-16-2008 at 12:25 PM.
|