Cannot enter the SMB dataset but the subdataset

bugmaker

Cadet
Joined
Mar 30, 2023
Messages
2
Hi all, new here. I have been stuck with this problem for a week and any help is appreciated.

In short, when I log into the SMB share, SMB will create a subdataset automatically, whose name is the same as the user name, and that subdataset becomes the root of the smb share.

To be more specific, I create a dataset (say the path is /mnt/wd/share) whose owner and group are both root. Then I create an SMB share, the name of which is share. I have another user called company, and it belongs to the company group (the aux group is builtin_users, which is strange because I did not set it when I created this user). The permission setting is based on POSIX_RESTRICTED ACL preset, and I add the company user into the ACL list, and give it read/write/execute permissions.

Now when I log into the smb via \\ip\share (on Win) or smb://ip/share (on Mac), a new subdataset called company will be created under /mnt/wd/share, and I can only see the files/folders under this subdataset (of course I can see nothing the first time I log into the SMB).

Does anyone see this problem before? Or did I set something wrong here? I have tried many times and I can always reproduce this. I also tried to set the owner of /mnt/wd/share as company directly, but the problem still happened.

Thank you very much.
 

bugmaker

Cadet
Joined
Mar 30, 2023
Messages
2
"builtin_users" being present is expected. Other behavior sounds like you explicitly set the SMB share preset that creates per-user private datasets.

yes you are right.. I misunderstood the setting name " Private SMB Datasets and Shares". Thank you for your help. I should double check the docs first.

The user reported the issue below met the same problem.

 
Top