when I use test-x to determine whether I have executable permissions, I find that my test command seems to have some exceptions
test, but judging whether the file has executable permissions does not work properly
DAEMON=/use/local/nginx/sbin/nginx
NAME=nginx
DESC=nginx
test -x $DAEMON || exit 0
test -x /use/local/nginx/sbin/nginx
is very strange. I have switched users, modified file users, created a new shell script, and the go program is not working. What makes me speechless is that other parameters such as-Smallink and so on work normally!