dperson / samba

Samba docker container
GNU Affero General Public License v3.0
1.52k stars 514 forks source link

issue with exFAT share #435

Open digitalnature opened 1 year ago

digitalnature commented 1 year ago

Running this on a raspberry pie, this is the command that is supposed to configure the share:

command: '-s "mnt;/mnt/usb3s2;yes;yes;yes"'

/mnt/usb3s2 is a mounted exFAT SSD drive.

If I try to run the container I get this output from the terminal:

Creating samba ... done
Attaching to samba
samba    | mkdir: can't create directory '/mnt/usb3s2': Read-only file system
samba    | smbd version 4.14.5 started.
samba    | Copyright Andrew Tridgell and the Samba Team 1992-2021
samba    | daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
samba    | make_connection_snum: canonicalize_connect_path failed for service mnt, path /mnt/usb3s2
samba    | make_connection_snum: canonicalize_connect_path failed for service mnt, path /mnt/usb3s2

It appears that the share fails to be recognized because the "usb3s2" directory fails to be created.. but I don't understand why, because this directory is not supposed to be created by the samba server. It already exists, and it's supposed to be accessed only.

uPagge commented 1 year ago

This repository is dead. The author does not support it anymore. You can try to use my fork which comes with the current version of alpine and the current version of samba for it.

DockerHub: https://hub.docker.com/r/upagge/samba GitHub: https://github.com/uPagge/samba