[openssh-commits] [openssh] 01/01: upstream: Do not warn about permissions on symlinks.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Jan 24 15:42:03 AEDT 2020
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 0585b5697201f5d8b32e6f1b0fee7e188268d30d
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Fri Jan 24 01:29:23 2020 +0000
upstream: Do not warn about permissions on symlinks.
OpenBSD-Regress-ID: 339d4cbae224bd8743ffad9c3afb0cf3cb66c357
---
regress/test-exec.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index f17f9493..fa92ee45 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: test-exec.sh,v 1.72 2020/01/23 10:19:59 dtucker Exp $
+# $OpenBSD: test-exec.sh,v 1.73 2020/01/24 01:29:23 dtucker Exp $
# Placed in the Public Domain.
#SUDO=sudo
@@ -449,7 +449,7 @@ else
unsafe=""
dir="${OBJ}"
while test ${dir} != "/"; do
- if test -d "${dir}" ; then
+ if test -d "${dir}" && ! test -h "${dir}"; then
perms=`ls -ld ${dir}`
case "${perms}" in
?????w????*|????????w?*) unsafe="${unsafe} ${dir}" ;;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list