Cloning from the Matrix repo

Hello,

I would like to start helping with the open issues in the Grammar Matrix, though my only experience with the matrix is from Ling 567. On the Matrix Regression Testing page, I read that I need to first check out the matrix code. However, I don’t have permission, i.e.:

git clone https://github.com/delph-in/matrix
fatal: could not create work tree dir 'matrix': Permission denied

What would be the next step here (Emily suggested I post my question here!)

Hi Nathaniel,

Try:

git clone https://github.com/delph-in/matrix.git

Let me know if that helped? I guess maybe it won’t, because I can clone both ways… I was not aware that one needs privileges to clone the Matrix. We’ll sort it out…

no difference yet!

This isn’t GitHub refusing to let you clone, this is your computer refusing to let you write the cloned repository to disk. Make sure you are cloning in a directory where you have permission to write files, such as your home directory.

Also see this Stack Overflow question and the accepted answer: https://stackoverflow.com/questions/16376035/fatal-could-not-create-work-tree-dir-kivy

1 Like

The problem seems to be in your computer. The system does not allow your account to create a directory.

Try to execute in the same folder the command

touch teste.tmp

If it fails, it is a confirmation that you don’t have write access in this folder. This command will try to create an empty file.

The reposirtory https://github.com/delph-in/matrix is public. I just confirm that I can clone it.

That solved it.

1 Like