I have just searched thru about a year and a half worth of posts
concerning this subject, but have not found a simple way of fixing this.

We have a "trusted" home network, 3 Win98 clients, 1 WinME client, 1 MD
9.0 client and a MD 9.0 server/router/firewall setup.  You can guess
whom the MD 9.0 client belongs to!

I have setup samba for the win clients, portion of smb.conf for shared:
[shared]
        writable = Yes
        path = /mnt/shared/shared
        read only = No
        create mask = 0777
        force create mode = 0777
        directory mask = 0777
        force directory mode = 0777

I admit I might have gone overboard by forcing everything to 0777 but
didn't realize until tonight that nfs is in the picture and is causing
problems - but hay, it works for the win clients anyways  LOL

Here is the line in /etc/exports for the shared directory;
/mnt/shared/shared 192.168.1.15(rw)

All win clients can create files/folders with no problems and other win
clients can create and or modify anything into what another win client
creates.

Problem is that if I create anything to the "shared" directory using
NFS, my permissions are assigned to it, and nobody else can make changes
to it.

I prefer NFS for my linux station over samba, so would like to keep
things the way they are and not switch to samba for linux to linux file
sharing.

Is there a way for the NFS exports to have say 0777 assigned to all
things created in those shares? 

I have tried adding all_squash to the /etc/exports file on the server,
but that didn't help.  A win client was not able to create another
file/folder within a newly created folder by my mandrake box.

The goal here is to basically make the "shared" resource read/writable
by all clients, no matter whom might create any shared folders or files.

Another thought is I might be able to change the line in exports to;
/mnt/shared/shared 192.168.1.(rw)  {but can that be done anyways in
that format?) but am not too sure if that would work because the other
win clients do not use NFS.

Any ideas?

TIA
Steve

-- 
Linux user #280097
Machine #162480

http://counter.li.org

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to