Re: chmod: missing operand after ‘a+rwx’
- From
- Jeffrey Walton <noloader@gmail.com>
- Date
- May 7, 2020, 02:58 UTC
- Message-ID
- <CAH8yC8kjdb5ZwKYsh7S_CgHbOShumggzbHH=ApQVeK3FnPcDnA@mail.gmail.com>
- In-Reply-To
- <CAH8yC8nAsF7HT__AhsRk08wpa_Bjsc6RXoZuomVbM1CWeG8QeA@mail.gmail.com>
On Wed, May 6, 2020 at 10:03 PM Jeffrey Walton <noloader@gmail.com> wrote:
Show 38 quoted lines
>
> Hi Everyone,
>
> Git 2.26.2 passes its self tests on OS X using libiconv-utf8mac.
>
> It looks like one issue remains during make install:
>
> for p in $remote_curl_aliases; do \
> rm -f "$execdir/$p" && \
> test -n "" && \
> ln -s "git-remote-http" "$execdir/$p" || \
> { test -z "" && \
> ln "$execdir/git-remote-http" "$execdir/$p" 2>/dev/null || \
> ln -s "git-remote-http" "$execdir/$p" 2>/dev/null || \
> cp "$execdir/git-remote-http" "$execdir/$p" || exit; } \
> done && \
> ./check_bindir "z$bindir" "z$execdir" "$bindir/git-add"
> 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 ...
>
> And on Ubuntu 18.04:
>
> for p in $remote_curl_aliases; do \
> rm -f "$execdir/$p" && \
> test -n "" && \
> ln -s "git-remote-http" "$execdir/$p" || \
> { test -z "" && \
> ln "$execdir/git-remote-http" "$execdir/$p" 2>/dev/null || \
> ln -s "git-remote-http" "$execdir/$p" 2>/dev/null || \
> cp "$execdir/git-remote-http" "$execdir/$p" || exit; } \
> done && \
> ./check_bindir "z$bindir" "z$execdir" "$bindir/git-add"
> chmod: missing operand after ‘a+rwx’
> Try 'chmod --help' for more information.
>
> make install stops after the messages. I'm not sure if there is more
> to install at this point.Cancel... This was my script that changed ownership back to the user in the home directory.
Jeff