smbj icon indicating copy to clipboard operation
smbj copied to clipboard

Question: Access subfolder where user has no access share by ACL

Open acarlsen opened this issue 4 years ago • 2 comments

First of all great library. It works great.

I however have a use case I am unsure is supported.

I have a hidden share which denies user access, however a sub folder allows access.

C:
^--- hiddenshare (shared via SMBv2, NTFS ACL denies access for the user I'm using to logon) ____^----subfolder1 (NTFS ACL grants access for the user I'm using to logon)

How do I list files on sub folder when I can not access share? Windows client can do this.

acarlsen avatar Jun 09 '20 19:06 acarlsen

@acarlsen I am facing the same issue. Have you found any workaround such as a different Java library?

SamerAdra avatar Oct 02 '21 03:10 SamerAdra

No, I haven't found a solution other than to change access right for hidden share.

acarlsen avatar Oct 02 '21 06:10 acarlsen