Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.rst #289

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update index.rst #289

wants to merge 2 commits into from

Conversation

Raji-Ahmad
Copy link

Included FILE_UPLOAD_PERMISSIONS and FILE_UPLOAD_DIRECTORY_PERMISSIONS in settings for local installation

Included FILE_UPLOAD_PERMISSIONS and FILE_UPLOAD_DIRECTORY_PERMISSIONS in settings for local installation
Included FILE_UPLOAD_PERMISSIONS and FILE_UPLOAD_DIRECTORY_PERMISSIONS in settings for local installation
Note
...........................

Since this is a local environment, Geoserver and Geonode should be able to reach the default MEDIA_ROOT. We need to change the FILE_UPLOAD_DIRECTORY_PERMISSIONS and FILE_UPLOAD_PERMISSIONS in settings.py to make the folder accessible to both.
Copy link
Contributor

@mattiagiupponi mattiagiupponi Feb 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI @Raji-Ahmad
I would keep it more hipotetical, since everyone can have a different environment.
What do you think about something like this?

Geoserver and Geonode should be able to reach the MEDIA_ROOT. If needed, is possible to change the FILE_UPLOAD_DIRECTORY_PERMISSIONS and FILE_UPLOAD_PERMISSIONS in settings.py to make the folder and the file accessible to both.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's better. Only change permission when necessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please update the pr? So I can approve and merge it to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants