Failed update from the web console (permissions)

Hi, I expect this is an easy one. I remember having a similar issue before and I had to run chmod or something. If anyone can help with the command, it would be appreciated. I don’t understand why permissions are not set properly by the NC installation (?).