Hi Everyone,
Okay, I am completely lost here and am hoping someone can help me out.
I am trying to get NFS sharing up and running, however, once I set my shares up, anyone is able to access them with full access. It is very confusing to me.
Here is my setup.
I created a user called "Bob" in Freenas. "Bob" is the same user account I am using on my Mac client and I ensured the UID is the same on Freenas and Mac OS. The passwords for "Bob" on both systems are also the same.
I have created a ZFS volume ladled "ZFSRAID". It is located at "/mnt/ZFSRAID". On the Freenas GUI I set the owner of this volume to "Bob" and the group to "Wheel". "Bob" and "Wheel" have read, write, and execute permissions. "Other" has no permissions.
I then turned on NFS in services, and set the number of servers to 6.
I then went into "Unix Shares" in the Freenas GUI and set the following parameters
Comment: RaidZ NFS Share
Volume Path: /mnt/ZFSRAID
Authorized Network or IP Addresses: n/a
All Directories: Unchecked
Read Only: Unchecked
Quiet: Unchecked
Maproot User: N/A
Maproot Group: N/A
Mapall User: N/A
Mapall Group: N/A
I then SSH into my Freenas box and confirmed using ls -la on the "ZFSRAID" volume and confined that "Bob" and "Wheel" are set as Read, Write, Execute and "Other" has nothing.
I then went into my Mac OS X client as "Bob" and as a test ran the connect to server option with the following command "nfs://serverip/mnt/ZFSRAID". The mount succeeded and I could modify all the files as I would expect.
I then created a second user on my Mac called "Test". I logged into test and did "nfs://serverip/mnt/ZFSRAID" and the volume mounted. I was also able to edit, add, delete new and existing content in the volume. This I did not expect.
I am primarily a windows user and normally in windows I would create a share, open it to everyone, then lock down the individual files/folders through local permissions. Which is what I thought I had replicated with the settings above in NFS/Freenas. Can someone help me out?
O yes, I am using Freenas 8.0 Release.
Thanks.
Okay, I am completely lost here and am hoping someone can help me out.
I am trying to get NFS sharing up and running, however, once I set my shares up, anyone is able to access them with full access. It is very confusing to me.
Here is my setup.
I created a user called "Bob" in Freenas. "Bob" is the same user account I am using on my Mac client and I ensured the UID is the same on Freenas and Mac OS. The passwords for "Bob" on both systems are also the same.
I have created a ZFS volume ladled "ZFSRAID". It is located at "/mnt/ZFSRAID". On the Freenas GUI I set the owner of this volume to "Bob" and the group to "Wheel". "Bob" and "Wheel" have read, write, and execute permissions. "Other" has no permissions.
I then turned on NFS in services, and set the number of servers to 6.
I then went into "Unix Shares" in the Freenas GUI and set the following parameters
Comment: RaidZ NFS Share
Volume Path: /mnt/ZFSRAID
Authorized Network or IP Addresses: n/a
All Directories: Unchecked
Read Only: Unchecked
Quiet: Unchecked
Maproot User: N/A
Maproot Group: N/A
Mapall User: N/A
Mapall Group: N/A
I then SSH into my Freenas box and confirmed using ls -la on the "ZFSRAID" volume and confined that "Bob" and "Wheel" are set as Read, Write, Execute and "Other" has nothing.
I then went into my Mac OS X client as "Bob" and as a test ran the connect to server option with the following command "nfs://serverip/mnt/ZFSRAID". The mount succeeded and I could modify all the files as I would expect.
I then created a second user on my Mac called "Test". I logged into test and did "nfs://serverip/mnt/ZFSRAID" and the volume mounted. I was also able to edit, add, delete new and existing content in the volume. This I did not expect.
I am primarily a windows user and normally in windows I would create a share, open it to everyone, then lock down the individual files/folders through local permissions. Which is what I thought I had replicated with the settings above in NFS/Freenas. Can someone help me out?
O yes, I am using Freenas 8.0 Release.
Thanks.