* [bug] Cloning SSH repo into /tmp
@ 2020-10-22 10:28 Adrien Berchet
2020-10-22 14:55 ` Randall S. Becker
0 siblings, 1 reply; 5+ messages in thread
From: Adrien Berchet @ 2020-10-22 10:28 UTC (permalink / raw)
To: git
Hi,
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.
Have a good day!
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [bug] Cloning SSH repo into /tmp
2020-10-22 10:28 [bug] Cloning SSH repo into /tmp Adrien Berchet
@ 2020-10-22 14:55 ` Randall S. Becker
2020-10-22 21:27 ` Adrien Berchet
0 siblings, 1 reply; 5+ messages in thread
From: Randall S. Becker @ 2020-10-22 14:55 UTC (permalink / raw)
To: 'Adrien Berchet', git
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.
Regards,
Randall
-- Brief whoami:
NonStop developer since approximately 211288444200000000
UNIX developer since approximately 421664400
-- In my real life, I talk too much.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bug] Cloning SSH repo into /tmp
2020-10-22 14:55 ` Randall S. Becker
@ 2020-10-22 21:27 ` Adrien Berchet
2020-10-22 22:02 ` Randall S. Becker
0 siblings, 1 reply; 5+ messages in thread
From: Adrien Berchet @ 2020-10-22 21:27 UTC (permalink / raw)
To: Randall S. Becker; +Cc: git
I encountered this behaviour on Linux Mint 20. But I just tried on
RedHatEnterpriseServer 7.6 and I could not reproduce this behaviour.
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.
>
> Regards,
> Randall
>
> -- Brief whoami:
> NonStop developer since approximately 211288444200000000
> UNIX developer since approximately 421664400
> -- In my real life, I talk too much.
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [bug] Cloning SSH repo into /tmp
2020-10-22 21:27 ` Adrien Berchet
@ 2020-10-22 22:02 ` Randall S. Becker
2020-10-23 20:49 ` Adrien Berchet
0 siblings, 1 reply; 5+ messages in thread
From: Randall S. Becker @ 2020-10-22 22:02 UTC (permalink / raw)
To: 'Adrien Berchet'; +Cc: git
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bug] Cloning SSH repo into /tmp
2020-10-22 22:02 ` Randall S. Becker
@ 2020-10-23 20:49 ` Adrien Berchet
0 siblings, 0 replies; 5+ messages in thread
From: Adrien Berchet @ 2020-10-23 20:49 UTC (permalink / raw)
To: Randall S. Becker; +Cc: git
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 :
>
> 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.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-10-23 20:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22 10:28 [bug] Cloning SSH repo into /tmp Adrien Berchet
2020-10-22 14:55 ` Randall S. Becker
2020-10-22 21:27 ` Adrien Berchet
2020-10-22 22:02 ` Randall S. Becker
2020-10-23 20:49 ` Adrien Berchet
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).