I am presuming this happens after you try cropping an uploaded image, for the avatar?
I think the permission denied message is the clue. Check the web server has permission to access the avatar upload directory. For example, this is often in /wp-content/uploads//
Can you upload images through the WordPress admin media library?