From f2d0d9bda9e6338bd94fca51e03a27c84f8e27b9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Oct 2001 13:59:57 +0000 Subject: Don't use a umask that removes owner read/write. That induces spurious failures in a probably-old version of purify. --- tests/cp/link-preserve | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/cp/link-preserve') diff --git a/tests/cp/link-preserve b/tests/cp/link-preserve index 53db11f5a..79e355e6d 100755 --- a/tests/cp/link-preserve +++ b/tests/cp/link-preserve @@ -78,11 +78,11 @@ test "$a_inode" = "$b_inode" || fail=1 # Ensure that --no-preserve=mode works rm -rf a b c d -touch a; chmod 400 a -umask 777 +touch a; chmod 731 a +umask 077 cp -a --no-preserve=mode a b set _ `ls -l b`; shift; mode=$1 -test "$mode" = "----------" || fail=1 +test "$mode" = "-rwx------" || fail=1 umask 022 # -------------------------------------- -- cgit v1.2.3-70-g09d2