RE: [bug] Cloning SSH repo into /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux