From nobody Tue Nov 05 22:27:43 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 4XjjdX4Zyhz5bhBM for ; Tue, 05 Nov 2024 22:27:44 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XjjdX0yhsz4jFw for ; Tue, 5 Nov 2024 22:27:44 +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=1730845664; 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; bh=zxbMTK9HTlpecOEi01Z5tKwQbzfVNKqPuqJ6HZjpdNA=; b=U3Zn4fDpjoaOZ85aWV3IkqzeirgdoHSrKrr/pitdliTTnnbKi68oMBWC6JfOVS18uJ6YFe Z4bURqZ2buIPqiggNCXMka8pF0SFZ3LYPLsrm/863RFG4CbbGqcbV5Kdz3Ih8DgVpI7N9L MK0coq0aejtLt6XiKfgwStD3fD7m4pPjeVugSK3M9h3tbzKm7bXDEI45C1fpk/mU+hONWy Bo6k9M1dcF1kbKU8eM5irdZd6v88TUoH2jFZDG681KN2kKx989CFMPC9x/swMMcpPK4/RX Kf/Cv2CVvBi4fdCLuayuxLwYSdw1HA4YEQZLdUXOw8/a1Sbrc47uh0mMlqgUNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730845664; a=rsa-sha256; cv=none; b=fB+Pmfwq6A6WFDoAhTn1IWKUiinItduUl2hRy/rPfCAIB4b1yRPP3v3WL26z5yfdRS2uts B+04sMheXjZAp/b3RPE1eA6csd2tRaRdZyIJnhc9nzwNvCIkW9PBw+voeCNhhlk5jg9YcR gUfcejvHvQpUL4WsYLZGsmaAHAj1zogO9nfyChJfoSSWlJQt23TQ8YCLx29455bjMUVeZC 9M5plXFiI9bt4zEOAowMtiSGLBzkogBc+bu/VYNvQEcWTiBPn29P9QzyS66WUQGViFfTXD vaB2E2vVN0os6XQYrT2YzioPEmjlkozyK2tI14+jNySTvTYOqhmw4IAiJQvhcQ== 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 4XjjdX0DlHzbJT for ; Tue, 5 Nov 2024 22:27:44 +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 4A5MRhNh067602 for ; Tue, 5 Nov 2024 22:27:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A5MRhrH067600 for bugs@FreeBSD.org; Tue, 5 Nov 2024 22:27:43 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 282575] linux jail: setting S_ISGID on directory should be ignored Date: Tue, 05 Nov 2024 22:27:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: joerg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=3D282575 Bug ID: 282575 Summary: linux jail: setting S_ISGID on directory should be ignored Product: Base System Version: 13.4-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: joerg@FreeBSD.org Running an installer of a large software (Intel Modelsim), it tries to set = the S_ISGID on many of the directories it is going to install. On Linux, this b= it causes BSD semantics for files created within such a directory (i.e. the gr= oup is inherited from the directory rather than from the process creating it). Currently, attempting to set S_ISGID from within a (Linux?) jail causes an EPERM. As the desired behaviour (inherit group membership for new files) is= the BSD behaviour anyway, it makes most sense to simply ignore this bit from wi= thin a jail, rather than triggering an error. --=20 You are receiving this mail because: You are the assignee for the bug.=