When trying to upload any files i was getting an error "could not acquire lock for ...". I initially thought this was some sort of permission error since it makes sense. I tried setting the permissions for the entire images folder to 777 and made sure the ownership of the directories was correct, yet it…