DLS Course 4: When Saving: "Permission denied: W4A1/Face_Recognition.ipynb"

duplicating and renaming does not work, tried several times also. wasting the 2nd day today. and now forced to pay fees for the next month. i dearly hope coursera will grant my request for a refund!

1 Like

Hello

We informed the course staff about Duplicate failed. We are extremely sorry for the inconvenience. :sob: :sob:

Best,
Saif.

3 Likes

duplicate and reload also did not work for me.

1 Like

If in the code, I try:
image.save(f"output/image_{ i**}** .jpg")

It produces:
PermissionError: [Errno 13] Permission denied: ‘output/image_0.jpg’

Meaning the current user does not own the “output” directory or does not have read/write permissions. Coursera staff should validate it and use Linux commands “chown” or “chmod” accordingly.

1 Like

Coursera is a 1.5 billion USD company with over 100 million users. I hope they have one or two employees who have already tried that :joy:

1 Like

I just tried it again. I don’t think that Coursera has fixed the issue.

I’ve done Update Lab to Latest Version and Reboot to no avail. I’ve also tried to delete the notebook, but “Permission Denied”

1 Like

Hi @Adam_Towne,

Just a while ago our course staff has posted an update here that Cousera told us they have solved the issue. Would you please go to the first post in that thread and try the fix as instructed? You might have done similar steps previously but hoepfully this time it will work.

Let us know if this works.

Raymond

1 Like

I’m in the same boat (Permission denied, not trusted, etc.) for C1W4.
And I did all the things from restarting kernel to updating lab to closing browser, etc. I haven’t tried all permutations of all those actions, and I’d rather not.

Hopefully Coursera figures this one out soon…

1 Like

Doesn’t fix it for me, same permission denied error.

1 Like

Thank you @KCrowe and @Chris_Morgan! I hope they will be able to fix it before the weekend, but I am afraid we are going to have to give them some time about it. The effect is wide and I am sure they have to be careful. If there is any new announcement, I will tag your ids in that so that you will get notified.

Raymond

2 Likes

Just want to report that I met similar issue for MLEP Crs2 Wk3. When I ran the code of unzipping file to local, it gave me this error “Permission denied: ‘/home/jovyan/work/data/train’”. Thanks.

2 Likes

Okay! @joyu-ai, I will also tag your id when there is any new annoucement about solution.

Raymond

1 Like

Same issue here with DLS Course 5 Week 1 assignments. Updating lab files does nothing to circumvent the “permission denied” problem.

1 Like

Hi @Amr_Nour-Eldin,

We are waiting for a fix for that, but if you don’t mind to try out a workaround, please follow the steps in this post and let us know here or there whether it works for you or not.

Raymond

1 Like

Thanks Raymond. I tried that directory-renaming+latest_lab workaround but I still get the permission denied problem with the newly created latest dir

1 Like

Hi @Amr_Nour-Eldin

Thank you for the feedback. I just want to confirm this: after you have created the new directory, did you click into it and all the way to the new assignment notebook, copy your solutions back to the new notebook, and make submission from there?

The hope is that the new notebook will have the permission. The workaround will not make the old notebook back to work.

Raymond

1 Like

Yes, the newly-created notebook doesn’t even show the submit option, just the “permission denied” error in its place.

1 Like

Usually when there is no submit button, I would re-open the lab from clicking the “Work in Browser” button. would you mind giving it a try?

1 Like

Yep, I had tried that as well. Still same problem.

1 Like

OK. Then I am afraid you will need to wait for updates from Cousera. If you had kept the old assignment browser window opened as I have suggested in the step, before you close it, please copy and paste just your solutions to a text editor on your computer, so that you can copy them back later. I will tag your ID under that post just for the record.

1 Like