CS50 IDE - permission denied to do anything



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.


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.