Date: Tue, 26 Nov 2024 02:45:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282981] zfs: fails when setting UF_NOUNLINK with EOPNOSUPP (SF_UNLINK works) Message-ID: <bug-282981-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282981 Bug ID: 282981 Summary: zfs: fails when setting UF_NOUNLINK with EOPNOSUPP (SF_UNLINK works) Product: Base System Version: 14.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ngie@FreeBSD.org chflags sunlink works, but chflags uunlink does not. This is because zfs_freebsd_setattr(..) does not map UF_UNLINK to a valid fflags attribute. Example: ```shell % chflags uunlink foo chflags: foo: Operation not supported % chflags sunlink foo chflags: foo: Operation not permitted % sudo chflags sunlink foo % uname -a FreeBSD gilot.local 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 GENERIC amd64 ``` Discovered when running a kyua unittest on /tmp backed by ZFS. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282981-227>
