nextflow-io / nextflow-s3fs

An S3 File System Provider for Java 7 (project archived)
Apache License 2.0
1 stars 10 forks source link

Unable to delete file from s3 bucket- permissions error #20

Open smrey opened 4 years ago

smrey commented 4 years ago

Command: file("s3://${params.s3bucket}/test.json").delete()

Apr-26 21:56:51.270 [main] ERROR nextflow.cli.Launcher - @unknown com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: ; S3 Extended Request ID: )

aws s3 rm "s3://s3bucket/test.json works ok with the AWS CLI

I am able to access and copy the file, just not move or delete.

Environment N E X T F L O W ~ version 20.01.0 Java version: [?] Operating system: [ Linux]

pditommaso commented 4 years ago

Please provide a replicable test case.