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

Re: [bug] Cloning SSH repo into /tmp

From
Adrien Berchet <adrien.berchet@gmail.com>
Date
Oct 23, 2020, 20:49 UTC
Message-ID
<CAKuTeye+kuT=zr6FoyTq8P9wj_1PnKqTdrX5sOtKhq0Z+rRaAw@mail.gmail.com>
In-Reply-To
<007901d6a8bf$0f9d3830$2ed7a890$@nexbridge.com>

I don't know and... I am not able to reproduce this bahaviour after rebooting this machine... I don't know what happened, I will tell you if it happens again and if I find in which conditions it happens. Thanks!

Le ven. 23 oct. 2020 à 00:02, Randall S. Becker <rsbecker@nexbridge.com> a écrit :

Show 39 quoted lines
>
> On October 22, 2020 5:27 PM, Adrien Berchet wrote:
> >
> > I encountered this behaviour on Linux Mint 20. But I just tried on
> > RedHatEnterpriseServer 7.6 and I could not reproduce this behaviour.
>
> I wonder whether there's something strange about how Mint partitions the disk, and whether /tmp is somehow configured weirdly on your machine.
>
> > Le jeu. 22 oct. 2020 à 16:55, Randall S. Becker <rsbecker@nexbridge.com> a
> > écrit :
> >
> > >
> > > On October 22, 2020 6:28 AM, Adrien Berchet wrote:
> > > > I encountered a quite weird bug when I tried to clone a repository
> > > > into the /tmp folder (I just wanted to test something, so I was working in
> > /tmp).
> > > >
> > > > I run the following command in /tmp :
> > > >     git clone ssh://[user]@[host]/project/[project_name]
> > > > and I got the following error:
> > > >     fatal: the protocol '/tmp/ssh' is not supported
> > > >
> > > > I got the same result if a run the following command from /tmp
> > directory:
> > > >     git clone ssh://[user]@[host]/project/[project_name]
> > > > /tmp/project_name
> > > >
> > > > Nevertheless, the command works in other directories. Even the
> > > > second command works when run from another directory (this
> > command:
> > > > git clone ssh://[user]@[host]/project/[project_name]
> > /tmp/project_name).
> > > >
> > > > It is very specific and can easily be worked around so it is no big
> > > > deal but I preferred reporting this in case it hides something else.
> > >
> > > What platform are you running on? I have experienced similar when /tmp is
> > linked to a separate file system with complex ACLs.
>
Previous: Randall S. Becker
Message 5 of 5 in “[bug] Cloning SSH repo into /tmp”
  1. Adrien BerchetOct 22, 2020
  2. Randall S. BeckerOct 22, 2020
  3. Adrien BerchetOct 22, 2020
  4. Randall S. BeckerOct 22, 2020
  5. Adrien BerchetOct 23, 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.