Date: Tue, 24 Sep 1996 17:56:17 -0400 (EDT)
From: "Robert J. Rutter" <rjr@sparks.empath.on.ca>
To: freebsd-current@freebsd.org
Subject: Re: install on {Net,Open}BSD vs install on FreeBSD
Message-ID: <199609242156.RAA04172@sparks.empath.on.ca>
index | next in thread | raw e-mail
|In message <199609230506.PAA05354@godzilla.zeta.org.au> Bruce Evans writes: |I'd still like to merge in the -d code from NetBSD/OpenBSD. SunOS |also sets the precedent. While it is true the permissions aren't |exactly right, other software than FreeBSD's 'make install' uses this |to make sure directories are present. This other software does happen |to be OpenBSD's make files, and it would be nice to be able to cross |build my mips stuff on FreeBSD w/o needing to have a special install. |I've seen it in a few other makefiles floating around on the net. I'm |not advocating that we use it for the 'make install' phase of the |build process, just that it be available. | |With that clarification, do people generally like or dislike the |proposal? | The SysV/ucb install recognizes the o, g and f flags for setting the destination file's owner, group and permissions. I think that this would be a prerequisite for any '-d' implementation. When compared with the alternate options, it would be a useful feature. eg. install -d -o bin -g bin -f 0755 /usr/local/dir1/dir2 vs. [ -d /usr/local/dir1 ] || mkdir /usr/local/dir1 chown bin /usr/local/dir1 chgrp bin /usr/local/dir1 chmod 0555 /usr/local/dir1 [ -d /usr/local/dir1/dir2 ] || mkdir /usr/local/dir1/dir2 chown bin /usr/local/dir1/dir2 chgrp bin /usr/local/dir1/dir2 chmod 0555 /usr/local/dir1/dir2 ... -- Robert Rutter rjr@sparks.empath.on.ca The thing I really like about Windows 95 is its artificial intelligence. For example, check the properties of any file with the extension "old". Windows 95 will tell you that it is an old file. What other major operating system available today has intelligence that is so artificial?help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609242156.RAA04172>
