Permission denied while creating directory

Hello mentor, I encountered Permission denied error while while runnin g assignment of week 3, as shown below.

I did some research and tried using !sudo while it does not work. Would you help me to solve this problem ? Thanks !

Thanks for bringing this up. The staff have been notified to fix this.

Please try this while you wait for the fix:

Create directories with explicit permissions. There are 2 places where this should be done:

  1. !mkdir -p {TRAINING_DIR} -m 0777
  2. !mkdir -p {TRAINING_DIR_FSELECT} -m 0777

If you have existing directories, move them to another name like this:
mv data data_old

from inside the jupyter terminal:

Undo these extra changes before making a submission. See this to edit a cell.

1 Like

Hi! Thank you for reporting this. There was a recent bug in Coursera Labs and we’ve reverted the changes. Please delete the data directory you have now and run the commands again to create the directories and download the dataset.

1 Like

Hello mentor, thanks for your help and the problem has been solved.

1 Like

Great! Glad it works now!