{"thread":{"id":"54483","subject":"[bug] Cloning SSH repo into /tmp","startedAt":"2020-10-22T10:28:53Z","lastAt":"2020-10-23T20:50:29Z","messageCount":5,"participants":["Adrien Berchet","Randall S. Becker"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"408160","messageId":"CAKuTeyftpz8mQiiy2S56pxmW0fzCENAQ8=gmaTE5a-Ef5g216g@mail.gmail.com","threadId":"54483","inReplyTo":null,"subject":"[bug] Cloning SSH repo into /tmp","fromName":"Adrien Berchet","fromEmail":"adrien.berchet@gmail.com","sentAt":"2020-10-22T10:28:13Z","receivedAt":"2020-10-22T10:28:53Z","isPatch":false,"sender":{"key":"adrien.berchet@gmail.com","avatar":"https://gravatar.com/avatar/2b1e8778d17999c9e1ad0817dd3fddf6810b7ed472b49d5730ba81e316f4bd34?d=mp&s=160"},"body":"Hi,\n\nI encountered a quite weird bug when I tried to clone a repository\ninto the /tmp folder (I just wanted to test something, so I was\nworking in /tmp).\n\nI run the following command in /tmp :\n    git clone ssh://[user]@[host]/project/[project_name]\nand I got the following error:\n    fatal: the protocol '/tmp/ssh' is not supported\n\nI got the same result if a run the following command from /tmp directory:\n    git clone ssh://[user]@[host]/project/[project_name] /tmp/project_name\n\nNevertheless, the command works in other directories. Even the second\ncommand works when run from another directory (this command: git clone\nssh://[user]@[host]/project/[project_name] /tmp/project_name).\n\nIt is very specific and can easily be worked around so it is no big\ndeal but I preferred reporting this in case it hides something else.\n\nHave a good day!\n"},{"id":"408171","messageId":"000601d6a883$66d8e180$348aa480$@nexbridge.com","threadId":"54483","inReplyTo":"CAKuTeyftpz8mQiiy2S56pxmW0fzCENAQ8=gmaTE5a-Ef5g216g@mail.gmail.com","subject":"RE: [bug] Cloning SSH repo into /tmp","fromName":"Randall S. Becker","fromEmail":"rsbecker@nexbridge.com","sentAt":"2020-10-22T14:55:31Z","receivedAt":"2020-10-22T14:55:42Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On October 22, 2020 6:28 AM, Adrien Berchet wrote:\n> I encountered a quite weird bug when I tried to clone a repository into the\n> /tmp folder (I just wanted to test something, so I was working in /tmp).\n> \n> I run the following command in /tmp :\n>     git clone ssh://[user]@[host]/project/[project_name]\n> and I got the following error:\n>     fatal: the protocol '/tmp/ssh' is not supported\n> \n> I got the same result if a run the following command from /tmp directory:\n>     git clone ssh://[user]@[host]/project/[project_name] /tmp/project_name\n> \n> Nevertheless, the command works in other directories. Even the second\n> command works when run from another directory (this command: git clone\n> ssh://[user]@[host]/project/[project_name] /tmp/project_name).\n> \n> It is very specific and can easily be worked around so it is no big deal but I\n> preferred reporting this in case it hides something else.\n\nWhat platform are you running on? I have experienced similar when /tmp is linked to a separate file system with complex ACLs.\n\nRegards,\nRandall\n\n-- Brief whoami:\n NonStop developer since approximately 211288444200000000\n UNIX developer since approximately 421664400\n-- In my real life, I talk too much.\n\n\n\n"},{"id":"408191","messageId":"CAKuTeyc6WhEguV2mi_eg8JYrhri0inBJE-xHL3ZbFRGuYsyaDw@mail.gmail.com","threadId":"54483","inReplyTo":"000601d6a883$66d8e180$348aa480$@nexbridge.com","subject":"Re: [bug] Cloning SSH repo into /tmp","fromName":"Adrien Berchet","fromEmail":"adrien.berchet@gmail.com","sentAt":"2020-10-22T21:27:06Z","receivedAt":"2020-10-22T21:27:46Z","isPatch":false,"sender":{"key":"adrien.berchet@gmail.com","avatar":"https://gravatar.com/avatar/2b1e8778d17999c9e1ad0817dd3fddf6810b7ed472b49d5730ba81e316f4bd34?d=mp&s=160"},"body":"I encountered this behaviour on Linux Mint 20. But I just tried on\nRedHatEnterpriseServer 7.6 and I could not reproduce this behaviour.\n\n\nLe jeu. 22 oct. 2020 à 16:55, Randall S. Becker\n<rsbecker@nexbridge.com> a écrit :\n\n>\n> On October 22, 2020 6:28 AM, Adrien Berchet wrote:\n> > I encountered a quite weird bug when I tried to clone a repository into the\n> > /tmp folder (I just wanted to test something, so I was working in /tmp).\n> >\n> > I run the following command in /tmp :\n> >     git clone ssh://[user]@[host]/project/[project_name]\n> > and I got the following error:\n> >     fatal: the protocol '/tmp/ssh' is not supported\n> >\n> > I got the same result if a run the following command from /tmp directory:\n> >     git clone ssh://[user]@[host]/project/[project_name] /tmp/project_name\n> >\n> > Nevertheless, the command works in other directories. Even the second\n> > command works when run from another directory (this command: git clone\n> > ssh://[user]@[host]/project/[project_name] /tmp/project_name).\n> >\n> > It is very specific and can easily be worked around so it is no big deal but I\n> > preferred reporting this in case it hides something else.\n>\n> What platform are you running on? I have experienced similar when /tmp is linked to a separate file system with complex ACLs.\n>\n> Regards,\n> Randall\n>\n> -- Brief whoami:\n>  NonStop developer since approximately 211288444200000000\n>  UNIX developer since approximately 421664400\n> -- In my real life, I talk too much.\n>\n>\n>\n"},{"id":"408192","messageId":"007901d6a8bf$0f9d3830$2ed7a890$@nexbridge.com","threadId":"54483","inReplyTo":"CAKuTeyc6WhEguV2mi_eg8JYrhri0inBJE-xHL3ZbFRGuYsyaDw@mail.gmail.com","subject":"RE: [bug] Cloning SSH repo into /tmp","fromName":"Randall S. Becker","fromEmail":"rsbecker@nexbridge.com","sentAt":"2020-10-22T22:02:35Z","receivedAt":"2020-10-22T22:02:46Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On October 22, 2020 5:27 PM, Adrien Berchet wrote:\n> \n> I encountered this behaviour on Linux Mint 20. But I just tried on\n> RedHatEnterpriseServer 7.6 and I could not reproduce this behaviour.\n\nI wonder whether there's something strange about how Mint partitions the disk, and whether /tmp is somehow configured weirdly on your machine.\n\n> Le jeu. 22 oct. 2020 à 16:55, Randall S. Becker <rsbecker@nexbridge.com> a\n> écrit :\n> \n> >\n> > On October 22, 2020 6:28 AM, Adrien Berchet wrote:\n> > > I encountered a quite weird bug when I tried to clone a repository\n> > > into the /tmp folder (I just wanted to test something, so I was working in\n> /tmp).\n> > >\n> > > I run the following command in /tmp :\n> > >     git clone ssh://[user]@[host]/project/[project_name]\n> > > and I got the following error:\n> > >     fatal: the protocol '/tmp/ssh' is not supported\n> > >\n> > > I got the same result if a run the following command from /tmp\n> directory:\n> > >     git clone ssh://[user]@[host]/project/[project_name]\n> > > /tmp/project_name\n> > >\n> > > Nevertheless, the command works in other directories. Even the\n> > > second command works when run from another directory (this\n> command:\n> > > git clone ssh://[user]@[host]/project/[project_name]\n> /tmp/project_name).\n> > >\n> > > It is very specific and can easily be worked around so it is no big\n> > > deal but I preferred reporting this in case it hides something else.\n> >\n> > What platform are you running on? I have experienced similar when /tmp is\n> linked to a separate file system with complex ACLs.\n\n"},{"id":"408283","messageId":"CAKuTeye+kuT=zr6FoyTq8P9wj_1PnKqTdrX5sOtKhq0Z+rRaAw@mail.gmail.com","threadId":"54483","inReplyTo":"007901d6a8bf$0f9d3830$2ed7a890$@nexbridge.com","subject":"Re: [bug] Cloning SSH repo into /tmp","fromName":"Adrien Berchet","fromEmail":"adrien.berchet@gmail.com","sentAt":"2020-10-23T20:49:50Z","receivedAt":"2020-10-23T20:50:29Z","isPatch":false,"sender":{"key":"adrien.berchet@gmail.com","avatar":"https://gravatar.com/avatar/2b1e8778d17999c9e1ad0817dd3fddf6810b7ed472b49d5730ba81e316f4bd34?d=mp&s=160"},"body":"I don't know and... I am not able to reproduce this bahaviour after\nrebooting this machine... I don't know what happened, I will tell you\nif it happens again and if I find in which conditions it happens.\nThanks!\n\n\nLe ven. 23 oct. 2020 à 00:02, Randall S. Becker\n<rsbecker@nexbridge.com> a écrit :\n>\n> On October 22, 2020 5:27 PM, Adrien Berchet wrote:\n> >\n> > I encountered this behaviour on Linux Mint 20. But I just tried on\n> > RedHatEnterpriseServer 7.6 and I could not reproduce this behaviour.\n>\n> I wonder whether there's something strange about how Mint partitions the disk, and whether /tmp is somehow configured weirdly on your machine.\n>\n> > Le jeu. 22 oct. 2020 à 16:55, Randall S. Becker <rsbecker@nexbridge.com> a\n> > écrit :\n> >\n> > >\n> > > On October 22, 2020 6:28 AM, Adrien Berchet wrote:\n> > > > I encountered a quite weird bug when I tried to clone a repository\n> > > > into the /tmp folder (I just wanted to test something, so I was working in\n> > /tmp).\n> > > >\n> > > > I run the following command in /tmp :\n> > > >     git clone ssh://[user]@[host]/project/[project_name]\n> > > > and I got the following error:\n> > > >     fatal: the protocol '/tmp/ssh' is not supported\n> > > >\n> > > > I got the same result if a run the following command from /tmp\n> > directory:\n> > > >     git clone ssh://[user]@[host]/project/[project_name]\n> > > > /tmp/project_name\n> > > >\n> > > > Nevertheless, the command works in other directories. Even the\n> > > > second command works when run from another directory (this\n> > command:\n> > > > git clone ssh://[user]@[host]/project/[project_name]\n> > /tmp/project_name).\n> > > >\n> > > > It is very specific and can easily be worked around so it is no big\n> > > > deal but I preferred reporting this in case it hides something else.\n> > >\n> > > What platform are you running on? I have experienced similar when /tmp is\n> > linked to a separate file system with complex ACLs.\n>\n"}]}