kahing / goofys

a high-performance, POSIX-ish Amazon S3 file system written in Go
Apache License 2.0
5.18k stars 521 forks source link

Failed deleting files #797

Closed massahidenamba closed 2 months ago

massahidenamba commented 4 months ago

Hello,

When I try to delete a file in a local S3 appliance I always get this message:

/usr/local/bin/goofys[27258]: s3.DEBUG DEBUG: Validate Response s3/DeleteObject failed, not retrying, error ObjectUnderRetention: The object is under retention and can't be deleted or modified.
                                                                          status code: 409, request id: , host id:
/usr/local/bin/goofys[27258]: fuse.ERROR *fuseops.UnlinkOp error: interrupted system call

Is there a way to fix this?

Thanks.

gaul commented 4 months ago

Someone enabled retention on the object so you cannot delete it without disabling retention.