The problem is when I save photos from the camera to the network drive my Wife is not able to edit or create new files in that directory.
Here is my setup.
I have a Debian server with nfs running on it.
And on this server I have a second drive mounted as /mnt/bigdiskc.
I then export this entire disk on the server with the following entry in the /etc/exports file:
Code: Select all
/mnt/bigdiskc 192.168.0.0/24(rw,sync,fsid=0,no_subtree_check)
Code: Select all
192.168.0.6:/mnt/bigdiskc/Photos /mnt/photos nfs rw,async,hard,intr 0 0
So on my client, Linux Mint desktop the above fstab entry mounts the Photos directory to:
Code: Select all
/mnt/photos
Now I ssh into my server to look at the permissions for the directory I just created:
Code: Select all
4 drwxr-xr-x 2 steve users 4096 Sep 14 18:53 Test
How do I set it up so that when I created directories or save or copy files to this network disk it will not only give the owner (steve in this case) full rights but the group “users” as well.
Some more information, if I ssh into the server from the command shell as steve and then execute:
Code: Select all
mkdir Test2
Code: Select all
4 drwxrwxr-x 2 steve users 4096 Sep 14 19:03 Test2
Also, my UID is the same for the server and client as well as GID.
This is a real pain as every time I copy camera photos over to the network drive I have to ssh into the server to change permissions for the group “user” so that my Wife can work with them.
Thank you for your help.