https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221189

            Bug ID: 221189
           Summary: zfs: bin/chmod/chmod_test:f_flag fails on ZFS, not UFS
                    (chflags uchg, then chflags 0 results in EPERM)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: n...@freebsd.org

I guess UF_IMMUTABLE (uchg) isn't supported on ZFS (!?):

$ sudo kyua debug -k
/usr/obj/usr/src/bin/chmod/tests/checkdir/usr/tests/bin/chmod/Kyuafile
chmod_test:f_flag
Executing command [ truncate -s 0 foo bar ]
Executing command [ chmod 0750 foo bar ]
Executing command [ chflags uchg foo ]
Fail: incorrect exit status: 1, expected: 0
stdout:

stderr:
chflags: foo: Operation not supported

Files left in work directory after failure: bar, foo
chmod_test:f_flag  ->  failed: atf-check failed; see the output of the test for
details

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to