Hello
I have created a new file share in /storage/.config/samba.conf with this content.
[Test]
path = /storage/test
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/test
Unfortunately the preexec function does not work, no folder is created as it should.
I have the same problem with "Ubuntu 20.04.5" and "Ubuntu 22.04.1".
Does this function no longer exist in Samba?
Translated with http://www.DeepL.com/Translator (free version)