<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 3, 2015, at 13:26, Eric A. Borisch &lt;<a href="mailto:eborisch@macports.org" class="">eborisch@macports.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">On Saturday, October 3, 2015, Clemens Lang &lt;<a href="mailto:cal@macports.org" class="">cal@macports.org</a>&gt; wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
<br class="">
----- On 3 Oct, 2015, at 15:47, Bachsau <a href="javascript:;" onclick="_e(event, 'cvml', 'web@bachsau.name')" class="">web@bachsau.name</a> wrote:<br class="">
<br class="">
&gt; Clemens Lang wrote on 03.10.2015 15:02:<br class="">
&gt;&gt; such as /bin/sh, /usr/bin/python, /usr/bin/make, /usr/bin/clang,<br class="">
&gt;&gt; etc.<br class="">
&gt;<br class="">
&gt; All of which are also part of macports, so can't you just use this or<br class="">
&gt; create shadowcopies yourself?<br class="">
<br class="">
Yes, we could provide copies of bash, python, make and clang ourselves<br class="">
and use them instead. So far, we have always relied on Apple's toolchain<br class="">
but you're right that we don't really have to.<br class="">
<br class="">
However, remember that it's not just 3-4 binaries we're talking about<br class="">
here. Lots and lots of smaller tools would also be needed, such as ar,<br class="">
as, arch, awk, base64, bc, bison, bzip2, chgrp, chown, cpio, curl, diff,<br class="">
du, grep, fmt, gzip, ...<br class="">
<br class="">
We're currently re-using some of those from /usr/bin to reduce the<br class="">
footprint of our build dependencies. MacPorts is already being<br class="">
criticized for using too much storage and "downloading the internet"<br class="">
before installing what you initially requested, and a change such as<br class="">
this would make things even worse.<br class="">
</blockquote><div class=""><br class=""></div><div class="">&nbsp;<font size="2" class=""><span style="background-color:rgba(255,255,255,0)" class="">Is there something clever that could be done with mounts or hard (directory) links&nbsp;here?</span></font></div></div></blockquote><br class=""></div><div>An NFS mount of self might work - the Mac NFS implementation doesn't seem to pass named attributes, and NFS protocol doesn't pass flags. &nbsp;Thus:</div><div><br class=""></div><div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: 'Andale Mono'; color: rgb(234, 234, 234); background-color: rgb(0, 0, 0);" class="">sh-3.2$ ls -ldO@ /bin /net/localhost/bin</div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: 'Andale Mono'; color: rgb(234, 234, 234); background-color: rgb(0, 0, 0);" class="">drwxr-xr-x@ 42 root&nbsp; wheel&nbsp; restricted,hidden 1428 Oct&nbsp; 2 04:41 /bin</div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: 'Andale Mono'; color: rgb(234, 234, 234); background-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>com.apple.FinderInfo<span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp; 32&nbsp;</div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: 'Andale Mono'; color: rgb(234, 234, 234); background-color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>com.apple.rootless<span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; 0&nbsp;</div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: 'Andale Mono'; color: rgb(234, 234, 234); background-color: rgb(0, 0, 0);" class="">drwxr-xr-x&nbsp; 42 root&nbsp; wheel&nbsp; - &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1428 Oct&nbsp; 2 04:41 /net/localhost/bin</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Same thing, but as seen in the 2nd case, no com.apple.rootless attribute, no restricted (or hidden) flags. :-)</div><div class=""><br class=""></div></div><br class=""></body></html>