Since the main cause is due to a lack of permissions, it might have something to do with the specific directory. I would suggest trying to go to a different directory, checking to see if you have permissions in said directory, and then trying to clone it.