[Bug 221188] zfs: bin/chmod/chmod_test:v_flag fails on ZFS, not UFS (ZFS updates mode for files unnecessarily)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 2 20:54:32 UTC 2017


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

            Bug ID: 221188
           Summary: zfs: bin/chmod/chmod_test:v_flag fails on ZFS, not UFS
                    (ZFS updates mode for files unnecessarily)
           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

For some odd reason it's updating the mode for foo unnecessarily on my
ZFS-based $TMPDIR:

$ sudo kyua debug -k /usr/tests/Kyuafile bin/chmod/chmod_test:v_flag            
Executing command [ truncate -s 0 foo bar ]
Executing command [ chmod 0600 foo ]
Executing command [ chmod 0750 bar ]
Executing command [ chmod -v 0600 foo bar ]
Fail: stdout does not match expected value
--- /tmp/kyua.1j9TcJ/2/work/atf-check.LpX8Mt    2017-08-02 19:51:34.153045000
+0000
+++ /tmp/kyua.1j9TcJ/2/work/check.p4eLMg/stdout 2017-08-02 19:51:34.152545000
+0000
@@ -1 +1,2 @@
+foo
 bar
Files left in work directory after failure: bar, foo
$ df /tmp/
Filesystem 1K-blocks  Used     Avail Capacity  Mounted on
root/tmp   116719335 37599 116681736     0%    /tmp
$ zfs get atime root/tmp                                                        
NAME      PROPERTY  VALUE  SOURCE
root/tmp  atime     on     default
$ mount -p | grep root/tmp                                                      
root/tmp                /tmp                    zfs     rw,nfsv4acls    0 0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list