From nobody Sun Feb 11 06:49:04 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 4TXdV962C3z59Zdb for ; Sun, 11 Feb 2024 06:49:05 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXdV92vkrz4dLJ for ; Sun, 11 Feb 2024 06:49:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707634145; a=rsa-sha256; cv=none; b=rmgN5j2fzyisHlW6Hvopsn8z5feD30iYTD+mi4Inmag7Vm4/vq5+4djLV4mMnuYWI1jViC DIq0YNrOqOtVVbWYsK7/nhm7oSSKg4ODXCvSWMeeJe9RjVU3EXkVpThqf6cnhweuqtPSth RUl28Ln3YlwEdU4QJbrYjeDAxfZPn8Q/QZWk3tvDAGzInYj/E59z1+u28DmGMA0KjP9VDZ wY4p1C4MoyOUNBo1G8eeHKuEe0nd6PQC2/0MymfDn8/BYwH39BtLH8c/15vjh0SJgziTcX o4JS+8qw6eNrqPAMmQQrBZheyELadf0ZE+0MNYeazoDT6kgQjgyjsb1DcHGBsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707634145; 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=jkPyno9KINjZb/teZJuSJIzq63DbZxBqj1oQAYN3xrA=; b=dwNxwmTQBD/C1bVm53T34tSrDBdaP1F/3HvZsRqMXZZuGS0KM9MqN5ifU/iG9yusRVvrrq cREMWt9Ch4LVihRQ08IRroUk75Y1VPmT8X9m0Mf/wveQKSCmRZJhMQ1fK/zfnYxyQUvBdm t8+cDmK+C1ff9X3xEzz9FVYiXkyRSOZhJlwK9NGBjO5djJbqIgsl9n+OwQB5UhOQ7B1mzX qLIy4fH9UvalDFBzgNJqP4HDEHvhUF/gWfmV2E1cVHbqENEwiAITfHjsJZRyORtvbtxUlX bGGZXEd9TIxp5mH4puLftukE+mtg625AV4g/Q0Qcy0kcupuWmZR/7D3mPuqYxA== 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 4TXdV91ylZzppw for ; Sun, 11 Feb 2024 06:49:05 +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 41B6n5xB090709 for ; Sun, 11 Feb 2024 06:49:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41B6n5BA090708 for bugs@FreeBSD.org; Sun, 11 Feb 2024 06:49:05 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 276965] tmpfs created with wrong permissions on top level Date: Sun, 11 Feb 2024 06:49:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at 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=3D276965 Bug ID: 276965 Summary: tmpfs created with wrong permissions on top level Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario: - FreeBSD stable/14 at a727d8d7f50f06a83b391428b0fa8b6436f0e210 with minor modifications - Mounting a tmpfs over /var/db/pkg (or any other directory) Result: - The filesystem root's permissions are set to 1777 Expected result: - The filesystem root's permissions should be inherited from the mount poin= t's permissions Note: - Maybe this is due to also having a /tmp autofs with 1777 permissions, and these get mixed up with the additional tmpfs mount Example session: [0]# grep pkg /etc/fstab auto /var/db/pkg mfs rw,noauto,-s=3D400m 0= 0 [0]# df /var/db/pkg Filesystem 1K-blocks Used Avail Capacity Mounted on mizar.1/12/var/db/pkg 389454152 57652 389396500 0% /var/db/pkg [0]# ll -a /var/db/pkg total 57561 drwxr-xr-x 2 root wheel 3 Feb 10 11:15 . drwxr-xr-x 20 root wheel 1024 Feb 11 07:29 .. -rw-r--r-- 1 root wheel 137725952 Feb 10 11:15 local.sqlite [0]# mount /var/db/pkg [0]# ll -a /var/db/pkg total 4 drwxrwxrwt 2 root wheel 0 Feb 11 07:31 . drwxr-xr-x 20 root wheel 1024 Feb 11 07:29 .. [0]# umount /var/db/pkg [0]# ll -a /var/db/pkg=20 total 57561 drwxr-xr-x 2 root wheel 3 Feb 10 11:15 . drwxr-xr-x 20 root wheel 1024 Feb 11 07:29 .. -rw-r--r-- 1 root wheel 137725952 Feb 10 11:15 local.sqlite [0]#=20 -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=