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

s3Download Couldn't Create Parent Directories #334

Open
emilyyujieli opened this issue Nov 26, 2024 · 0 comments
Open

s3Download Couldn't Create Parent Directories #334

emilyyujieli opened this issue Nov 26, 2024 · 0 comments

Comments

@emilyyujieli
Copy link

Hi

Description
l tried to use s3Download download file from s3 object storage to a specific pvc path in kubernetes pod.

            s3Download(
                    pathStyleAccessEnabled: true,
                    payloadSigningEnabled: false,
                    file: '/demo/',
                    bucket: BUCKET_NAME,
                    path: 'test/',
                    force: false
            )

However it always come to an error - "java.lang.RuntimeException: Couldn't create parent directories for /demo/test/test.txt".
l tried to check the permission in the pod and it's already root user. Meanwhile if l execute in this pod and create those folder manually, it also works.

Question
Kindly ask if there any good idea how to solve this issue?

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

No branches or pull requests

1 participant