2.2.5pre1: unlink design flaw

Simo Sorce idra at samba.org
Thu Jun 13 12:14:02 GMT 2002

On Thu, 2002-06-13 at 19:49, jd at epcnet.de wrote:
> > The race stay in the fact that you may rename the file and create a link
> > to an important file between the close and the second unlink, with very
> > bad results.
> On smbfs you cannot create links. Nor on fatfs.

But samba runs on posix file systems too, and they have it.

I think smbfs/fat32 can be made posix compliant for this particular
operation and that's the right way to go IMO.

Simo Sorce
Una scelta di liberta': Software Libero.
A choice of freedom: Free Software.

More information about the samba-technical mailing list