Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Aug 2022 11:33:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265625] .zfs/snapshot directory is always readable (also by non-privileged users)
Message-ID:  <bug-265625-227-DgDZQxo5nE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265625-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265625-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265625-227-DgDZQxo5nE>