Skip to content

Commit

Permalink
upstream: Do not warn about permissions on symlinks.
Browse files Browse the repository at this point in the history
OpenBSD-Regress-ID: 339d4cbae224bd8743ffad9c3afb0cf3cb66c357
  • Loading branch information
daztucker committed Jan 24, 2020
1 parent 4151923 commit 0585b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regress/test-exec.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}" ;;
Expand Down

0 comments on commit 0585b56

Please sign in to comment.