From nobody Tue Jan 21 20:35:26 2025 X-Original-To: bugs@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 4YczVQ5xF8z5lYr3 for ; Tue, 21 Jan 2025 20:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YczVQ5KN1z3l7L for ; Tue, 21 Jan 2025 20:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737491726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yE4xxjy5Mh5M4N5R0k/elMhb6x2mTQevSXcXmLdqlwA=; b=i3qNBy/t1WoSSGoqKesvhsanp2FEdKQjHt6VRvX3m6EhohQs10xKUhryMBCYJmQumPhs/7 YTLwwZlsfAbOrNAlvRSFmtKQFD9UQ08qHweyFMFNd+5wfhyI2ZVfWuNyJUs0JMfg7PkzPX wTxiBKpgq1iOjZlcHzAG394QGvNQzudnQ+y/RXiWoPdfibaXRjD2QS2Ujl3TmEb5Bl9bId xBl6/M//MoBUliJ5GPB5FRX6uqUsthz1YLjIilsWgtWS/FSoQ5eOe9Fpz1C/I1CwJGGZle D7LZiWRuanK3h2vLEIPDqf4nIb8JDvrmfCCygTfV2sRlVnTeKXfiw7bPUUMd/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737491726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yE4xxjy5Mh5M4N5R0k/elMhb6x2mTQevSXcXmLdqlwA=; b=Tttgrk9htQeyKiC/xlHjU7QSlrrHS0LCQMkGDgVIXq4V5mTPiKCIoJX04rSbhdxVrJKugi FLFj1uLeB5hp04aNIi57T6KmxkI/GSTSBJlAm14mSA8+ltZ24fAl3nlzvW5/7S7WTFHOik iKyV8qKzEaVy3msfJnJV1U+YQZgBb/fOL/GCHOQ480zmf2wDEVNiJRjpBSXZrhVLM/XHOx RBFzYcCgLgWkBrXqB+PR9V/Sy76WB7yYP19z5j7JwelohMZ3QkXeO0JZzHeoncrE8Logwy iix2vcXMES0uIhxv+1COIjFlCT7+pOWyMfb3G1JmmzpgPJkFhyPBlLcCiDEeWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737491726; a=rsa-sha256; cv=none; b=h8m8wPCWN0r15IRcbV9Z3buN8wlCytHQ8Fkjo22kyympy6peEOS45uyUjJ19fR+vrn93Vk NST/LRStz4tiRSPlkPCOBzZwVM+2rkfnDLo1cRkzGdNf63Ehztu1HAUqdQ7P/vVojPniKT 2yliy/NRdUSDZOufH5mKJrt6SQTZvMlMAIwp059NilUmQQuJLbakyou/5m/M7CCNyBDfA7 /Gu/RBxQ1FY/tqmIXjy/sqpAh6zXiRAd3dJly4JbB2htCX3WEdKCuxVF2LwdU8v/UBeT0i 6xD5SDY0I0+1dxx9G2AwK5XCFBKqPPj0RlJ2PdGrr2gdtgG9a0otbnOzttQB8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YczVQ4blYz6M9 for ; Tue, 21 Jan 2025 20:35:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50LKZQIQ088731 for ; Tue, 21 Jan 2025 20:35:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50LKZQo1088730 for bugs@FreeBSD.org; Tue, 21 Jan 2025 20:35:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283355] install: -U does not validate -o and -g values Date: Tue, 21 Jan 2025 20:35:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283355 --- Comment #1 from Jose Luis Duran --- See also: https://reviews.freebsd.org/D48587 For a different approach. It only validates if the uid/gid is within a valid numeric range. Otherwise= , -U should not validate -o/-g/-f, as it is supposed to be used together with -M, and we may rely on this functionality to be present. Evidently, this needs = to be documented. --=20 You are receiving this mail because: You are the assignee for the bug.=