The situation:
Ubuntu 8.04 on client and on server.
Server uses smbd 3.0.25a.
When uploading directory recursively, first second or two creating file in it failes with "permission denied".
simply command
mkdir test ; touch test/test
will fail, but if same command runned second time, it will work as intended.