[BUGFIX] Check folder permission for default upload folder