Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 1996 10:54:35 +0200 (MET DST)
From:      grog@lemis.de (Greg Lehey)
To:        rjr@sparks.empath.on.ca
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: install on {Net,Open}BSD vs install on FreeBSD
Message-ID:  <199609240854.KAA00268@allegro.lemis.de>
In-Reply-To: <199609240019.UAA17972@sparks.empath.on.ca> from "Robert J. Rutter" at Sep 23, 96 08:19:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Robert J. Rutter writes:
>
>
> '-d' to create directories is a Sys5R4 option for /usr/ucb/install.
> The standard Sys5R4 /usr/bin/install does not accept '-d' as an option.
> In either case it's probably no a good idea to use '-d' for debugging,
> since some software may depend on it to create a directory.

System V install is quite different from the others.  There's not much
compatibility.  On the other hand, a number of installs, though not
the classic BSD version, support -d for creating directories.

Bruce said (though not in the quote below) that -d is a Bad Thing
because it can end up creating directories with wrong permissions.
Sure, if the permissions are important, they should be done by hand,
but frequently they're not, or you know that they will be set
correctly on installation.  I don't think we should try to anticipate
every way users can shoot themselves in the foot.

Greg

>| On Mon, 23 Sep 1996, Bruce Evans wrote:
>|
>|> >In the other BSDs, install -d means to create the directory.  In
>|> >FreeBSD it means to turn on debugging.  I propose that we implement
>|>
>|> Only in -current.  -d is a syntax error in standard BSD and 2.1.5R.
>|> I used -d for debugging before I knew about its use for directory
>|> stuff.  I copied it from the -d for debugging in make.
>|
>| I just tested on an older Sun 4c, it's not a syntax error there, it's the
>| way the /usr/ucb/install works.



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