A share on the server is defined as follows
[share]
path = ...
read only = no
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
valid users = dobiasd
It is mounted via the fstab on the client:
//server/share /home/dobiasd/share/ cifs file_mode=0777,dir_mode=0777,iocharset=utf8,username=dobiasd,password=dummy 0 0
The client can create files and directories. A newly created directory can also be deleted again, but it is not possible to create new files or directories inside this new directory. To allow this I first have to do a chmod -R 777 . on the server, so the "drwxrwxr-x" of the directory becomes a "drwxrwxrwx".
How can I get samba to create the new directory immediately in a way so that subfolders can be created in it?