Skip to content

unable to share /tmp and /etc directories from linux to windows using ksmbd-tool #326

@vishnumotghare-eaton

Description

@vishnumotghare-eaton

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:

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions