]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid failure of install-C test on FreeBSD UFS file system
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 17 Apr 2009 16:10:04 +0000 (18:10 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 19 Apr 2009 20:17:08 +0000 (22:17 +0200)
* tests/install/install-C: Use 2755 (set-gid), not 1755 (sticky),
to test install -C with non-permission mode bits set.  At least on
FreeBSD with a UFS file system, a non-root user may not set the
sticky bit on a non-directory.

tests/install/install-C

index 9d0ec90161349ae013c6a9519edc72ba55174ddd..959bee192d0085afec685deea2614fa751f8a1d6 100755 (executable)
@@ -26,7 +26,7 @@ skip_if_setgid_
 
 mode1=0644
 mode2=0755
-mode3=1755
+mode3=2755
 
 fail=0