From nobody Sun Apr 21 18:45:22 2024 X-Original-To: hackers@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 4VMy4h1rmqz5HW78 for ; Sun, 21 Apr 2024 18:45:40 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VMy4g46X9z4c8K for ; Sun, 21 Apr 2024 18:45:39 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=fMdfDT+N; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 2001:8b0:aab5:107::11 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 40DD5952A for ; Sun, 21 Apr 2024 18:45:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1713725131; bh=DnNC4MXBYIz0mHVz6t/zqSOCVj3qfRQXNOSSGdguMWM=; h=Date:From:To:Subject; b=fMdfDT+N29R8QnxhU+kV3VUIvjOmBYpb1OgHkziUMbzPWUFc5DIwbKhdyxJc8Q31S 96Ed1Hp1isDvJM2RPGOHdrYqpHQkw8rs2cS3LsxvpRFqKuaizcMVswiVnU0VnbrpSF tumb3p3ZEFJzPBzDxGp00nSYXcwARWbl+esrjImM= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 05EE32C0421 for ; Sun, 21 Apr 2024 19:45:31 +0100 (BST) Date: Sun, 21 Apr 2024 19:45:22 +0100 From: Lexi Winter To: hackers@freebsd.org Subject: building memstick without root Message-ID: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UdEh3BBIxHwM4I4G" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.41 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.911]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:aab5:107::11]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4VMy4g46X9z4c8K --UdEh3BBIxHwM4I4G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello, is it expected that running 'make -C release memstick' requires root? the build fails for me with: install: /src/obj/src/freebsd/src/main/riscv.riscv64/release/dist/kernel/boot/kernel/kernel: chown/chgrp: Operation not permitted as i understand it, makefs should be able to build images as a non-root user using mtree, but i'm not sure if this is hooked up to the build system, or if i'm doing something else wrong - maybe i need a make.conf/src.conf option set? --UdEh3BBIxHwM4I4G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYlXr8ACgkQDHqbqZ41 x5mrRQv8CgpjugBuJUDP9Q5RJmU4U86uTlARZyL9hyEKtkidljDwIKONKzOqtQeT lMoh9OVuj6eqjGTxWBHVpV8Lv/G09X/DI5soVlanAHHNw9QSJzKx8lxPuPzpPTO0 nI3qhOuMxcHdw3zq0rg6OHZMMwLWFS8b7GXQhZHalPuvcC36Q7zXP8MF/v9rNg4i RcoHXeWVHv2DfmNaoVKsLsidUuMO9GQW07zEot9/kf3cxbjZnIe0zgp+ckiBHvuq oHSHU1/gA7I3GkuRt4GJ9nYAtu7hVkO6jbMS7SMp1qLtftPc3iFGGzstVk6pwVfD 9+B56upb4uP7pDNwzXO7eqTfmA6Y6DXj5EXt02JFOAqfbERq1uv3M85Yzdw8ZQF2 7u/Aqz4bmS4bxDAIu6oDrpMUcyka0xGbESLl5y8eMGfvRbmzTtH2W1mmJurwXcoB bafugpiNuciQAppYgWI+1enmVJ+7Kv1wUAa81caw1qg1ZEwfTMUA9dqhOdfenqxB E7u1D8w8 =ZE3S -----END PGP SIGNATURE----- --UdEh3BBIxHwM4I4G--