[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    Re: get user's home
From:       Umesh Singla <umeshksingla () macports ! org>
Date:       2017-08-06 11:25:12
Message-ID: CAK2-mZHiyeh=43ZFf1W+jXaci+1HbbRPJaLEG-cSG7FcbEmccA () mail ! gmail ! com
[Download RAW message or body]

That cleared it up. Thanks.

On Sat, Aug 5, 2017 at 2:28 AM, Joshua Root <jmr@macports.org> wrote:

> On 2017-8-5 06:46 , Umesh Singla wrote:
>
>> On a side note, I didn't get this part:
>>
>>     The user installing the port is not necessarily the one that will
>>     use it.
>>
>
> Suppose a port is built on the buildbot. The user is 'buildbot' and so the
> value of $user_home will be something like '/Users/buildbot'. An end user
> then installs the port on their system. The value of $user_home will be
> different, for example '/Users/steve'. So if anything involving the value
> of $user_home ended up in the binary archive, it is wrong on the user's
> system.
>
> - Josh
>

[Attachment #3 (text/html)]

<div dir="ltr">That cleared it up. Thanks.<br><div class="gmail_extra"><br><div \
class="gmail_quote">On Sat, Aug 5, 2017 at 2:28 AM, Joshua Root <span \
dir="ltr">&lt;<a href="mailto:jmr@macports.org" \
target="_blank">jmr@macports.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 2017-8-5 06:46 , Umesh \
Singla wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> On a side note, I didn&#39;t get \
this part:<br> <br>
      The user installing the port is not necessarily the one that will<br>
      use it.<br>
</blockquote>
<br></div></div>
Suppose a port is built on the buildbot. The user is &#39;buildbot&#39; and so the \
value of $user_home will be something like &#39;/Users/buildbot&#39;. An end user \
then installs the port on their system. The value of $user_home will be different, \
for example &#39;/Users/steve&#39;. So if anything involving the value of $user_home \
ended up in the binary archive, it is wrong on the user&#39;s system.<br> <br>
- Josh<br>
</blockquote></div><br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic