Date: Mon, 04 Dec 2023 22:55:59 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 265625] .zfs/snapshot directory is always readable (also by non-privileged users) Message-ID: <bug-265625-3630-xwvDjj0O2A@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265625-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-265625-3630@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 Xin LI <delphij@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |delphij@FreeBSD.org --- Comment #6 from Xin LI <delphij@FreeBSD.org> --- I think this can probably be addressed by changing `zfsctl_ctldir_mode` (sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c) to `S_IRUSR | S_IX= USR` (or `S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP`) with a loader tunable, so the = .zfs is only accessible by root (or root plus the wheel group). --=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-3630-xwvDjj0O2A>