Hello All,
I’m encountering an issue while trying to share the /etc or /tmp directories from my Linux system and access them from Windows. Despite following the steps outlined in the ksmbd-tools usage guide, I am unable to successfully share these directories. Interestingly, I can share subdirectories like '/etc/settings' or '/tmp/settings', but not the main '/etc' or '/tmp' directory itself.
Here is my current configuration:
[global]
; global parameters
log file = /var/log/ksmbd.log
server string = ksmbd Server
workgroup = WORKGROUP
[MyShare]
; share parameters
force group = root
force user = root
path = /etc
read only = no
Error message from windows:

Has anyone else faced a similar issue or have any suggestions on how to resolve this? Any help would be greatly appreciated!