[Bug 221189] zfs: bin/chmod/chmod_test:f_flag fails on ZFS, not UFS (chflags uchg, then chflags 0 results in EPERM)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 2 21:06:25 UTC 2017


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 at FreeBSD.org
          Reporter: ngie at 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.


More information about the freebsd-bugs mailing list