Revert "Ensure 777 filemode for upload folder"

This reverts commit 6a0558abc385fb843606249ba8adaeed41943ef9.