Permission denied when trying to make a new file or save


I was trying to create reset.css on terminal but permission denied and have to type my mac password everytime I edit and save files. Is there any way to turn permission off?

The instructor on video didn’t seem to have anything like that popping up when replacing favicon or reset.css etc.

Many Thanks.

on your computer or in the lesson?

permissions can’t be turned of, they are so deeply embedded within the operating system

what you can do is change the permission to grant your user/group to the files.

i first recommend checking who currently has permission:

ls -l

and then use chown or chgrp to give yourself the right permissions. If you need more help with these commands, let me know, but also feel free to google