On Sun, 20 Oct 2024 19:34:28 +0200
Gilles via samba <samba at lists.samba.org> wrote:
> On 20/10/2024 17:07, Rowland Penny via samba wrote:
> >> Unless it has changed, curl only supports SMBv1 and it is turned
> >> off by default on Samba.
>
> Too bad. That takes care of question #1.
>
> Are those the wrong settings to force new files to be saved with a
> given user and the given access rights? A new file is still root:root
> and 655
>
> =========> [sdcard]
> path = /mnt/sdcard
> guest ok = yes
> writeable=yes
> browseable=yes
>
> force user = www-data
> force group = www-data
> ;? create mask = 0644
> force create mode = 0644
> ;? directory mask = 0755
> force directory mode = 0755
> =========>
>
It all depends on what filesystem is on the sdcard, if it is a Windows
filesystem (vfat etc), then what you see on Linux is a figment of the
mount command, but if it is a Linux filesystem (ext4 etc), then there is
something wrong.
Rowland