Ok, seeing the error now, it's not trying to write at that point. It's just trying to read the directory. From that, it looks like images/markup_panel isn't even readable. Can you check the permissions on this directory?