From nobody Thu Aug 04 11:33:06 2022 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 4Lz66V5vn3z4YnLC for ; Thu, 4 Aug 2022 11:33:06 +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 4Lz66V4Q6dz40xJ for ; Thu, 4 Aug 2022 11:33:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4Lz66V3S48z1SYl for ; Thu, 4 Aug 2022 11:33:06 +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 274BX63Z047690 for ; Thu, 4 Aug 2022 11:33:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 274BX6hl047689 for bugs@FreeBSD.org; Thu, 4 Aug 2022 11:33:06 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 265625] .zfs/snapshot directory is always readable (also by non-privileged users) Date: Thu, 04 Aug 2022 11:33:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jbe@magnetkern.de X-Bugzilla-Status: New 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-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659612786; 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=EwkVhwrfsZsxlv2/N//gzcTTBW5WvUigOHUBlklJFfk=; b=paIppFzZ6WAWym5+Ha9ytqfY3FGWdGEB6osfDCuErZK5E7qdBUGIPi2y2u+IutCTzQVr/d zKzbupNK6ZZt8PoJmBXKXlI8zFYDCcTkZDkdeV8x9OqsTmqTo3uomeUJ1zRoqJL4a3ZmW6 280zC397iFkGVaBfXoqOwGRcUHOhBrTqvbPQVIJV5e1fNSnb3nm7zwXP+J3HYrBTFzPawy 4sd3TvmBCp47xGmCeEWtvjIY9KXzbPsOlzbKeDXsox0KWuM6/61VQhURZ3haG27ASHuANR H2oLMFOsbENkrUZh3xVtjrFq3U07m7p32YMn031qMGMHJT7wCPY5PUp6IAkpnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659612786; a=rsa-sha256; cv=none; b=nfyLTFaoNZADRV5p5JwritEz1qu/DBDucnkkaWY8ZggBy66gHiSL6UjgTEJI2Yl3dg/px+ j5AFSiQrHcXKys8OeIqA23KWhQKMkvVb6zOKSp49TRSq8GLXTtMGfWUZlo6DHQG9og6t9R Gb/NIJsYJa+eDmjlHCSeVwEzle/0Ieu5HfbAkNIho9V2sc+YJNen/vVc+jTucKauY+Blqs KammFRHwzsxdPLIf37w+kyODZLxyq4MUoWT57bcXNmLXjAbeCcWFLbT4IfNxKZPqE0ZJZK J4ND1YyQZqNkcJrVKT152W+9Bux+ZaBclx1sdgU38ukPmlTkuag5GDHdt8U9og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265625 --- Comment #2 from jbe@magnetkern.de --- (In reply to Anton Saietskii from comment #1) That is right. However file ownership and modes may change for two reasons: 1. They have been wrongly set. 2. They were correct but changed to harden security or otherwise reflect a change of access privileges. If old snapshots exists, then this allows (non-root) users to access data e= ven if files have been deleted or privileges have been revoked. I consider it a potential security problem that revocation of privileges can't be enforced (unless all snapshots from the past are deleted, which isn't always practic= al). --=20 You are receiving this mail because: You are the assignee for the bug.=