From nobody Fri Oct 11 15:55:41 2024 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 4XQB6j4b3Cz5Z4GV for ; Fri, 11 Oct 2024 15:55:41 +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 4XQB6j1RSTz4wrT for ; Fri, 11 Oct 2024 15:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728662141; 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=imHcZwjbS+omEy8dYcI/tx2b46pM/6kSGIM6geTiJsQ=; b=Zq+MXTQrPsvpoqp32NbdZy/bnY+tBG1JbpblhFb9c+JKz9SYZAbnPc829JIm1mxtida3FK 2PSlXYwTw0pZm7KBFKaUR5mzGxfHK2s0j0DhN74xSI/X3aDC3mEJQWOfYSF7M1UkyHF0Fw HCLEiblB9BHNNQ8wbhk947hun+Hh5JFmThomsbqLYGl40ogD60vJKNiNGBbHqBLtnuc0FB WbEspmIk1wK0F3aL1rzZTaHRKO8gVcfRz9XYw5oQtn8nuhlstiUmcnaKzdufZXMynMv3XX 4nGkzShyuYW8LbZl5cflJaa0hbOrT/n95rgU1Odm/JNlwzCOIefuLbUrk2VL1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728662141; a=rsa-sha256; cv=none; b=bdgrMZi7DaWRx/+t3n7h9FXDNdAQdb/YAXrUYY5s/fiX1dUuWJuN9OSyvXC43x7NdkF6RX CC1XXBYWHYYYN5tXCdmgZT27ALdNC6VJWTbIxabVL2Dyhz12KNwmJ3PsNTNcF2sSApT6xD w0KRXSn3ASpKzyHF1mYz/L8GkDajSAajDLxUN2PTq65eMDHD6sdNFbZMzOaqgC/+fM7WtO Kr0+vpd25HS+cTOwxLr9i/bRlX9I0I23fXuc/HOyZ1uQGu5XjWA+q76lpGV4bIV23RVDoZ b5U8JtJ+urpekO1DtyFbNl0RBDxQLWmD4vwIWlccm3PcbWtddpAfxDbmk6y7Tw== 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 4XQB6h64wmznwD for ; Fri, 11 Oct 2024 15:55:40 +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 49BFteRv068528 for ; Fri, 11 Oct 2024 15:55:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49BFtei3068527 for bugs@FreeBSD.org; Fri, 11 Oct 2024 15:55:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 17289] [patch] wrong permissions on /var/run/printer Date: Fri, 11 Oct 2024 15:55:41 +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: 3.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D17289 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6cde8f3ef7cd060be39d78055eaf982b0= 6b19a3b commit 6cde8f3ef7cd060be39d78055eaf982b06b19a3b Author: Stanislav Shalunov AuthorDate: 2024-10-11 15:49:02 +0000 Commit: Warner Losh CommitDate: 2024-10-11 15:50:08 +0000 lpd: Tighten permissions on /var/run/printer Exclude group read/write permissions as well. Otherwise, group wheel can submit things w/o the normal accounting. While group wheel is generally trusted on the machine, submitting jobs w/o checks is not one of the functions we document for that group. PR: 17289 Differential Revision: https://reviews.freebsd.org/D47040 usr.sbin/lpr/lpd/lpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=