Date: Wed, 02 Aug 2017 20:54:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221188] zfs: bin/chmod/chmod_test:v_flag fails on ZFS, not UFS (ZFS updates mode for files unnecessarily) Message-ID: <bug-221188-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221188 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@FreeBSD.org Reporter: ngie@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=20=20= =20=20=20=20=20=20=20=20=20=20 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.1530450= 00 +0000 +++ /tmp/kyua.1j9TcJ/2/work/check.p4eLMg/stdout 2017-08-02 19:51:34.1525450= 00 +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=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 NAME PROPERTY VALUE SOURCE root/tmp atime on default $ mount -p | grep root/tmp=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 root/tmp /tmp zfs rw,nfsv4acls 0 0 --=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-221188-8>