[Samba] Can’t connect outside home directory

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



Hi,
I have setup Samba on 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 idea? Happy New Year!

[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