git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: chmod: missing operand after ‘a+rwx’

From
JWJeffrey 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
Previous: Jeffrey WaltonNext: Torsten Bögershausen
Message 2 of 4 in “chmod: missing operand after ‘a+rwx’”
  1. Jeffrey WaltonMay 7, 2020
  2. Jeffrey WaltonMay 7, 2020
  3. Torsten BögershausenMay 7, 2020
  4. Jeffrey WaltonMay 7, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.