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

List:       macports-users
Subject:    Re: Many "permission denied" errors.
From:       Carl Witthoft <cellocgw () gmail ! com>
Date:       2024-04-23 20:12:57
Message-ID: CANkkNcijs=m2zCxCPU=o_C-0qXv2dy9Lu+QdTt_-NYt__Uke3A () mail ! gmail ! com
[Download RAW message or body]

Well,  my  /private/tmp is open to read/write,   but   /private itself is
not.  Worse, it's one of those directories which ignores sudo and doesn't
allow changes.  I'll have to teach myself how to fix that (something about
logging on in a special mode IIRC).


On Mon, Apr 22, 2024 at 5:47 PM Ryan Schmidt <ryandesign@macports.org>
wrote:

> On Apr 22, 2024, at 10:14, Carl Witthoft wrote:
>
>
> sudo port -f activate xorg-xorgproto
> error message is
>
> Warning: Failed to execute portfile from registry for xorg-xorgproto
> @2024.1_0
>
> --->  Activating xorg-xorgproto @2024.1_0
>
> Error: port activate failed: mkdtemp failed: Permission denied
>
>
> You should almost never force port activation so let's drop the -f flag.
>
> Can you try again with debug mode -- the -d flag? Maybe that will tell us
> more.
>
> I recall two or three users reporting difficulties years ago that ended up
> being caused by incorrect permissions on /tmp or /private/tmp so you might
> check those.
>

[Attachment #3 (text/html)]

<div dir="ltr">Well,   my   /private/tmp is open to read/write,     but     /private \
itself is not.   Worse, it&#39;s one of those directories which ignores sudo and \
doesn&#39;t allow changes.   I&#39;ll have to teach myself how to fix that (something \
about logging on in a special mode IIRC).<div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 22, 2024 at \
5:47 PM Ryan Schmidt &lt;<a \
href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div \
dir="ltr"></div><div dir="ltr">On Apr 22, 2024, at 10:14, Carl Witthoft \
wrote:</div><div dir="ltr"><blockquote type="cite"><br></blockquote></div><blockquote \
type="cite"><div dir="ltr"><div>sudo port -f activate \
xorg-xorgproto<br></div><div>error message is  </div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-v \
ariant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:n \
ormal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Warning: Failed to execute \
portfile from registry for xorg-xorgproto @2024.1_0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-vari \
ant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">---&gt;<span>   </span>Activating \
xorg-xorgproto @2024.1_0</span></p> <p \
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-vari \
ant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span \
style="font-variant-ligatures:no-common-ligatures">Error: port activate failed: \
mkdtemp failed: Permission denied</span></p></div></div></blockquote><br><div>You \
should almost never force port activation so let&#39;s drop the -f flag.  \
</div><div><br></div><div>Can you try again with debug mode -- the -d flag? Maybe \
that will tell us more.  </div><div><br></div><div>I recall two or three users \
reporting difficulties years ago that ended up being caused by incorrect permissions \
on /tmp or /private/tmp so you might check those.  </div></div></blockquote></div>



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

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