[Samba] can't connect outside home directory

cha charle subads at gmail.com
Mon Jan 1 07:09:47 UTC 2024


Hi,
I have setup Samba in Raspberry Pi, and  am able to connect to "PiShare"
(/home/charles/share) without any problems; however, somehow I can't
connect to "entertainment" (/media/usb-drive/music), which is on an
external usb hard drive. I have tried numerous different
configurations--and still no luck. Any ideas? Happy New Year. Thanks.

[PiShare]
        comment = Raspberry Pi Share
        create mask = 0777
        directory mask = 0777
        force user = charles
        path = /home/charles/share
        read only = No


[entertainment]
        comment = music library share
        create mask = 0777
        directory mask = 0777
        force user = charles
        guest ok = Yes
        path = /media/usb-drive/music
        read only = No


More information about the samba mailing list