hierynomus / smbj

Server Message Block (SMB2, SMB3) implementation in Java
Other
713 stars 180 forks source link

Question: Is it possible to work with acl permissions on the connected shares? #597

Closed taijidude closed 3 years ago

taijidude commented 3 years ago

Hello smb noob here, :-)

i would like to connect to a share, create a new Folder and set the ACL rights to a certain user Group and a specific user. I already figured out how to connect and create the new folder. But i'm struggling with working with the acl. Is this possible with smbj? And if yes, how can i do this? Or where should i start to look?

hierynomus commented 3 years ago

This is possible using DiskShare.setSecurityInformation(...)

taijidude commented 3 years ago

Thank you. Will look it up.