FW: [PATCH] mkdir.cc - mkdir_p() (was: Samba install problems)

Jeremy Allison jeremy at valinux.com
Fri Oct 6 20:36:45 GMT 2000

Andrej Borsenkow wrote:
> Browsing samba-technical, I remeber the problem with creating directory with
> missing directories in path. I.e. mkdir -p //samba/foo/bar/com fails if
> ``bar'' does not exists. I hit it when installing off SAMBA share (2.0.7)
> Here it seems that one nice person analysed the problem. May be, it helps. The
> mentioned patch is for Cygwin setup.exe problem, not for SAMBA.

I just found and fixed this bug in Samba also.

We now return the correct error code for NTTrans mkdir

This fix will be in Samba 2.2.0.

Thanks for your help,

	Jeremy Allison,
	Samba Team.

Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-technical mailing list