diff --git a/geonode/upload/api/tests.py b/geonode/upload/api/tests.py index a35aea3a274..75a4dee41fc 100644 --- a/geonode/upload/api/tests.py +++ b/geonode/upload/api/tests.py @@ -231,6 +231,8 @@ def live_upload_file(self, _file): return response, response.content @override_settings(CELERY_TASK_ALWAYS_EAGER=True) + @override_settings(FILE_UPLOAD_DIRECTORY_PERMISSIONS=0o777) + @override_settings(FILE_UPLOAD_PERMISSIONS=0o777) def test_rest_uploads(self): """ Ensure we can access the Local Server Uploads list. @@ -268,6 +270,8 @@ def test_rest_uploads(self): self._cleanup_layer(layer_name) @override_settings(CELERY_TASK_ALWAYS_EAGER=True) + @override_settings(FILE_UPLOAD_DIRECTORY_PERMISSIONS=0o777) + @override_settings(FILE_UPLOAD_PERMISSIONS=0o777) def test_rest_uploads_non_interactive(self): """ Ensure we can access the Local Server Uploads list.