From nobody Thu Jun 06 18:36:40 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VwCj872v6z5LKHP for ; Thu, 06 Jun 2024 18:36:44 +0000 (UTC) (envelope-from dale@dalescott.net) Received: from relay.b.hostedemail.com (smtprelay0255.b.hostedemail.com [64.98.42.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VwCj753XSz4W9s for ; Thu, 6 Jun 2024 18:36:43 +0000 (UTC) (envelope-from dale@dalescott.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dalescott.net header.s=key1 header.b=MkrXF32X; dmarc=none; spf=pass (mx1.freebsd.org: domain of dale@dalescott.net designates 64.98.42.255 as permitted sender) smtp.mailfrom=dale@dalescott.net Received: from omf13.b.hostedemail.com (omf13 [10.200.6.76]) by unirelay10.b.hostedemail.com (Postfix) with ESMTP id C0B171C0656 for ; Thu, 6 Jun 2024 18:36:41 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: dale@dalescott.net) by omf13.b.hostedemail.com (Postfix) with ESMTPA id 8F96D120009 for ; Thu, 6 Jun 2024 18:36:40 +0000 (UTC) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Date: Thu, 06 Jun 2024 12:36:40 -0600 From: Dale Scott To: freebsd-questions@freebsd.org Subject: Re: npm fails "Error: EACCES: permission denied, mkdir '/tmp/tryton/..." In-Reply-To: <6b36bd5900752353fd25f9cf102f1069@dalescott.net> References: <6b36bd5900752353fd25f9cf102f1069@dalescott.net> Message-ID: <55c3b39d38f5ba0763ffe8da32c4b3aa@dalescott.net> X-Sender: dale@dalescott.net Organization: dalescott.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.10 X-Rspamd-Server: rspamout03 X-Stat-Signature: o4kx6sq4gdw8j1s1mzw6k6n76phoukgs X-Session-Marker: 64616C654064616C6573636F74742E6E6574 X-Session-ID: U2FsdGVkX180h/O3E+K7Ss/Y8nSfUeWe5sU8mTvz+Vw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dalescott.net; h=mime-version:date:from:to:subject:in-reply-to:references:message-id:content-type:content-transfer-encoding; s=key1; bh=hyAiKHFrjhEA0z9L2K2PhrCR+aCcO0+kVbicubiUycs=; b=MkrXF32XbjxYdNAr3NK8oLStg3iOU1G/D9aTKO4jQvGPHo9p8DAW4VeE8kX3eue4vFWLiTlpi4FD/DDJMqMLKBotN02CTRxNv4GhbuzbNpKM8kxEeCSaVJQbDh6k2e8El0Q3VIQ8BPhuEvCSsNzgJCOHEoEKs/6VOVZYODNjmtw= X-HE-Tag: 1717699000-399154 X-HE-Meta: U2FsdGVkX1/B46kOhwZmNrEjjIjeKQmN2c8GA7kLiUmLKo0Z3Qm+VkaNX7tOASjAotHDBhbvM9Qgkp7dv/t1n4msnUAb4E2ak7Ye0BpRYa9Ke90T+t2JOG7/xV8jKmJiD9PzE9SfI9xM9EhOk5wl9lK44n0fNwlTF5/mHrmNHqlK2eggDnM45612juxIXNjme3J9Z0sSeGdnFi7STWJDhFnxiiIuil7kAxw2r9qJchxtReoNtdZFGV+xxtSySOMFalO4t6voMRdDVS/UTpZ7Mg== X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[dalescott.net:s=key1]; R_SPF_ALLOW(-0.20)[+ip4:64.98.42.0/24]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:32491, ipnet:64.98.32.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; HAS_ORG_HEADER(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[dalescott.net: no valid DMARC record]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[dalescott.net:+] X-Rspamd-Queue-Id: 4VwCj753XSz4W9s On 2024-06-06 09:04, Dale Scott wrote: > Stack trace: > Error: EACCES: permission denied, mkdir > '/tmp/tryton/bower/673d4f049f0db3d188488f447477968a-75940-tGGj4Z' Thanks to @SirDice in the forum! Cause was /tmp/tryton/ already existed not owned by the user executing npm. Solution was simply to delete /tmp/tryton. Hurrah!.