mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #1202] Create time of directory is reported as zero #637
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#637
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 @bkamau on GitHub (Nov 20, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1202
Version of s3fs being used (s3fs --version)
s3fs_fuse 1.85
GNU/Linux Distribution, if applicable (cat /etc/os-release)
alpine 3.9
s3fs command line used, if applicable
Details about issue
Directories inside the mounted bucket has time set to 0 like this
drwxr-x--- 1 1000 1000 0 Jan 1 1970 PUBLIC
Files inside the PUBLIC directory has proper time set though
Close related to https://github.com/s3fs-fuse/s3fs-fuse/issues/771
@gaul commented on GitHub (Feb 2, 2020):
Are these times zero for objects created from s3fs or from an external tool?
@bkamau commented on GitHub (Feb 12, 2020):
They are created by external tool. Please note that this applies to directories, not the objects inside that given directory.
@Wang-Kai commented on GitHub (Feb 18, 2020):
Have you solve it ? i met the same issue .
@Wang-Kai commented on GitHub (Feb 18, 2020):
I met the same issue, after executed
s3fs mydirectory ...,the inode ofmydirectorychanged, and the create time is zero .And, after execute
umount s3fs, the date of directory is correct .@gaul commented on GitHub (Oct 10, 2020):
Could you test with the latest master? It includes
059cc57ba6.@gaul commented on GitHub (Nov 15, 2020):
Please reopen if symptoms persist.
@bkamau commented on GitHub (Jun 2, 2022):
@gaul Please re-open the issue as the problem is still visible with v1.91.
@gaul commented on GitHub (Jun 12, 2022):
I misunderstood the symptom -- if you run:
You will see the default permissions 750 and a default 0 atime/ctime/mtime. This is intentional --
directorydoes not exist and s3fs must provide some value so it defaults to 0. What do you expect to happen?@bronger commented on GitHub (Jul 11, 2022):
Does an S3 store save a timestamp for directories at all?