nojohnny101
Wizard
- Joined
- Dec 3, 2015
- Messages
- 1,477
So I have setup multiple users with their own datasets each and have them mounting it by first opening a SSH terminal (they are all accessing from macs, through terminal and finder) and then mounting the drive through a smb://localhost:15448 connection. Everyone connects with Private/Public keys.
this has worked fine but when they go to mount, all the drives that are currently being shared from the FreeNAS box over CIFS are visible (even if they don't have permission to view or mount). That has been fine because normally when the said user tried to click on a dataset and mount it that they don't have any level of access to, finder refuses and says "don't have permission to view this network drive".
However one of these remote users alerted me to the fact that he could mount a dataset that he most definitely does not have read, write, or execute access to. I'm not sure what I am missing. I have gone through all relevant settings but he can still mount. The behavior on other datasets is working correctly (not mounting, giving permission decided message). What am I missing?
Here is the current setup for "user1" where "user1" can access the dataset "user2" and mount it successful
SSH permissions
CIFS Settings:
any ideas or what else I should try?
this has worked fine but when they go to mount, all the drives that are currently being shared from the FreeNAS box over CIFS are visible (even if they don't have permission to view or mount). That has been fine because normally when the said user tried to click on a dataset and mount it that they don't have any level of access to, finder refuses and says "don't have permission to view this network drive".
However one of these remote users alerted me to the fact that he could mount a dataset that he most definitely does not have read, write, or execute access to. I'm not sure what I am missing. I have gone through all relevant settings but he can still mount. The behavior on other datasets is working correctly (not mounting, giving permission decided message). What am I missing?
Here is the current setup for "user1" where "user1" can access the dataset "user2" and mount it successful
SSH permissions

CIFS Settings:


any ideas or what else I should try?
Last edited: