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

Manifest manager should not create cantaloupe directory #10289

Open
chiatt opened this issue Nov 22, 2023 · 0 comments
Open

Manifest manager should not create cantaloupe directory #10289

chiatt opened this issue Nov 22, 2023 · 0 comments

Comments

@chiatt
Copy link
Member

chiatt commented Nov 22, 2023

The manifest manager tries to create a directory for uploaded cantaloupe files:

       if not os.path.exists(settings.CANTALOUPE_DIR):
            os.mkdir(settings.CANTALOUPE_DIR)

If Apache does not have permissions to write that directory, the manifest manager will fail to save a manifest. This is a problem if the system is configured to use s3 and doesn't need a directory written to the application server. We should therefore remove this and let the administrator create a directory for Cantaloupe uploads themselves.

@chiatt chiatt added this to pipeline Nov 22, 2023
@aarongundel aarongundel moved this to 🔖 Ready in afs-pipeline Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Status: No status
Development

No branches or pull requests

1 participant