GoogleCloudPlatform / GoogleCloudPlatform/gcsfuse

Buckets with retention policy defined

Open
#355 4 comments 3 reactions 0 assignees View on GitHub
feature request
Dominant language
Go
Stars
2.3k
Forks
510
Avg merge
2d 17h
Merged PRs (30d)
35

Description

gcsfuse doesn't work correctly with a bucket that has a retention policy defined on it.
```
$ mkdir mnt_bucket
$ gcsfuse --dir-mode 755 --file-mode 777 --implicit-dirs --debug_fuse gcs_bucket_with_retention ./mnt_bucket
Using mount point: /home/oracle/mnt_bucket
Opening GCS connection...
Opening bucket...
Mounting file system...
File system has been successfully mounted.
$ ls -l ./mnt_bucket/
total 3430
-rwxrwxrwx. 1 oracle dba 0 Oct 21 22:07 test.txt
$ echo Hello > ./mnt_bucket/test1.txt
$ ls -l ./mnt_bucket/
total 3431
-rwxrwxrwx. 1 oracle dba 0 Oct 21 22:07 test.txt
-rwxrwxrwx. 1 oracle dba 6 Oct 22 15:11 test1.txt
$ cat mnt_bucket/test1.txt
Hello
cat: mnt_bucket/test1.txt: Input/output error
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.