smb acl does not work

leksand

Dabbler
Joined
Jul 31, 2023
Messages
24
The acl for accessing the smb shared folder does not work.

getfacl shows that it is configured correctly, I can connect and see the folder - credentials are accepted, I can't see the contents, I can't write.

He won't let me into the folder itself. But for some reason, a lower-level dataset of the same name was created from users, which I cannot delete. And when I connect, I most likely get exactly this user folder inside the dataset

getfacl /mnt/mydataset/dataset1/
getfacl: Removing leading '/' from absolute path names
# file: mnt/mydataset/dataset1/
# owner: root
# group: root
user::rwx
group::rwx
group:groupdataset1:rwx
mask::rwx
other::---

2023-10-10-18-17-48.png

2023-10-10-18-18-18.png

2023-10-10-18-19-13.png
 

leksand

Dabbler
Joined
Jul 31, 2023
Messages
24
private smb the consequences of experiments with the inability to connect. I tried both the standard share and nfs instead of posix
 
Last edited:

leksand

Dabbler
Joined
Jul 31, 2023
Messages
24
deleted smb share, then deleted datasets of the same name with users.
after creating a new dataset, everything worked as it should be used

questions:
1) was it possible to reconfigure it without deleting the dataset?
2) why was there no access? (I tried the default share parameters mode and initially it was)
3) which section of the documentation should I study better? (I looked through everything in the samba and acl manual)

In general, I had a feeling that initially the settings were correct, but it didn't work. Deleting creating anew smb share helped
 
Top