mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #771] Create time of files in bucket reported as zero #441
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#441
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @quaxquax on GitHub (May 28, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/771
Just noticed that the create time of all files in a bucket are set to zero:
ubuntu@ip-172-31-12-14:/tmp$ ls -lc /bayesforgeS3models/csv/total 36761-rw-r--r-- 1 1001 root 1281706 Jan 1 1970 asia.csv-rw-rw-r-- 1 1001 root 200046 Jan 1 1970 burglary20000.csv-rw-rw-r-- 1 1001 root 36000089 Jan 1 1970 credit2000000.csv-rw-r--r-- 1 1001 root 160043 Jan 1 1970 potato.csv-rw-rw-r-- 1 1001 root 0 Jan 1 1970 rain1000.csvAccording to this stackoverflow track getting the create time from the AWS metadata is tricky but not impossible:
@gaul commented on GitHub (Jan 11, 2019):
Note that ctime is actually change time; file birth time is something else and not well-supported in Linux.