CS50 IDE - permission denied to do anything

cs50

#1

I cannot seem to make files, edit files, delete files or do any such operations. Commands seem to work in the terminal but sudo chown ubuntu ./ didn’t do anything. Message appears in a red banner at the top: Failed to write to 'Untitled'. Access denied acccessing this file or folder.


#2

Seems to have been a permissions error with a specific folder. sudo chmod 700 public/img was the specific command that ended up fixing it.