Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+10 votes

Hi,

whenever I try to complete step 3 on lab 4 I get a "fatal: could not create work tree dir 'lab-4-restaurant-conflict-test-paigeh0ffman': Permission denied" when I try to
$ git clone with the address of my repository. I have asked a few other people and no one can figure out the issue/has had the same one! Does anyone have any suggestions?

asked in CSC 305 Fall 2024 by (1.6k points)
+1

If you type pwd, what folder (a.k.a. directory) does it show you are working in?

1 Answer

+3 votes
 
Best answer

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.

answered by (2k points)
selected by
...