Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 19:51:45 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        standards@FreeBSD.org
Subject:   mkdir -p through a dangling symlink
Message-ID:  <48691D31.9010202@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Suppose you do this:

gohan20# ln -sf /y/portbuild /var/portbuild
gohan20# mkdir -p /var/portbuild/scripts
mkdir: /var/portbuild: No such file or directory

(because /y/portbuild doesn't exist yet).

Is this the correct behaviour, or should mkdir -p be creating 
/var/portbuild/ before failing?

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48691D31.9010202>