Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 15:02:05 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 147155 for review
Message-ID:  <200808111502.m7BF25fu026080@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=147155

Change 147155 by trasz@trasz_traszkan on 2008/08/11 15:01:07

	For some reason, mkdir(2) with permissions equal to 01755 results
	in mode 0755, without sticky bit.  Work around this.  With this change,
	ZFS passes regression tests.  For now.  ;-)

Affected files ...

.. //depot/projects/soc2008/trasz_nfs4acl/tools/regression/fstest/tests/granular/02.t#3 edit

Differences ...

==== //depot/projects/soc2008/trasz_nfs4acl/tools/regression/fstest/tests/granular/02.t#3 (text+ko) ====

@@ -5,7 +5,7 @@
 dir=`dirname $0`
 . ${dir}/../misc.sh
 
-echo "1..52"
+echo "1..53"
 
 n0=`namegen`
 n1=`namegen`
@@ -90,7 +90,8 @@
 expect 0 unlink ${n0}
 
 # Check whether modifying the ACL by not-owner preserves the sticky bit.
-expect 0 mkdir ${n0} 01755
+expect 0 mkdir ${n0} 0755
+expect 0 chmod ${n0} 01755
 expect 0 prependacl ${n0} user:65534:write_acl::allow
 expect 0 -u 65534 -g 65534 prependacl ${n0} user:65534:write_data::allow
 expect 01755 stat ${n0} mode



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808111502.m7BF25fu026080>