No matter what chmod command I run, I am always getting
chmod: illegal option -- -
usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [i][# [ n]]] mode|entry file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...
I am on macOS Sierra and I get the same issue on both "Terminal" as well as "iTerm2".
I have also been able to use chmod without issues on this machine in the past 2 years.
type chmod
say? – steeldriver Oct 16 '19 at 16:27chmod
supports long options such as--preserve-root
– steeldriver Oct 17 '19 at 11:37