Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac: Creation Date is set to 1.1.1970 #396

Open
warmup72 opened this issue Apr 17, 2019 · 6 comments
Open

Mac: Creation Date is set to 1.1.1970 #396

warmup72 opened this issue Apr 17, 2019 · 6 comments

Comments

@warmup72
Copy link

I´m using 1.7 on macOS 10.14.4
In the mounted Path the creationdate is allways set to 1.1.1970
Mounted Path
stat ./data/*

905969707 12897042013 -rw-r--r-- 1 Simon staff 0 264826 "Apr  9 18:05:16 2019" "Dec  4 16:03:39 2018" "Apr  9 14:54:24 2019" "**Jan  1 01:00:00 1970**" 131072 2048 0 ./data/181204_180012_OSRAM_LED_STAR_PAR16.pdf
905969707 12895479981 drwxr-xr-x 4 Simon staff 0 128 "Apr 14 10:35:07 2019" "Mar 17 16:46:35 2019" "Mar 17 16:46:35 2019" "**Jan  1 01:00:00 1970**" 131072 2048 0 ./data/Neuer Ordner
905969707 12897042014 -rw-r--r-- 1 Simon staff 0 2171559 "Apr 14 14:51:38 2019" "Nov 20 10:03:00 2017" "Apr  9 14:54:24 2019" "**Jan  1 01:00:00 1970**" 131072 6144 0 ./data/eHZ_Stromzähler_Produkthandbuch.pdf

encrypted Path
stat ./crypt/*

16777220 12897042014 -rw-r--r-- 1 Simon staff 0 2188569 "Apr 14 14:51:38 2019" "Nov 20 10:03:00 2017" "Apr  9 14:54:24 2019" "**Nov 20 10:03:00 2017**" 4096 4280 0 ./crypt/9GYIE_K6h2D4GVfJNfPfOzWwB6MDlNnHSMxzvbBCm3wpKkdiwTTRp1YLYyGLkKGV
16777220 12895479981 drwxr-xr-x 4 Simon staff 0 128 "Apr 14 10:35:07 2019" "Mar 17 16:46:35 2019" "Mar 17 16:46:35 2019" "**Mar 17 16:46:35 2019**" 4096 0 0 ./crypt/lMsNrys1ZotFOcRU5lDvKg
16777220 12897042013 -rw-r--r-- 1 Simon staff 0 266924 "Apr  9 18:05:16 2019" "Dec  4 16:03:39 2018" "Apr  9 14:54:24 2019" "**Dec  4 16:03:39 2018**" 4096 528 0 ./crypt/uLmlTA1sPWA8fr3yDA9X6fMVLZBmLItn9KCgwo17PzNyo2ewOkqRIKQmfewCgbg4
@warmup72
Copy link
Author

Hi, is there a plan oder the knowledge to support this feature?
I would like to use gocryptfs.
Maybe You accept a bounty for this feature - I would be very nice to look for this issue!
If you need help testing the fix I can do this!
Thx

@warmup72
Copy link
Author

warmup72 commented Aug 6, 2020

Hi, after a Year I wonder that no one is interested in using gocryptfs on a Mac?
Is there a plan to fix this problem?
CreationDate is something fundamental, because sorting e.g. in Photos an iTunes needs this date.
I hope this will be fixed!

@bexelbie
Copy link

bexelbie commented Aug 6, 2020

Looks like it is a bug with MacFuse: osxfuse/osxfuse#623

@ysmolski
Copy link

ysmolski commented Feb 9, 2022

I am not so sure if this is a problem of MacFuse because when I use encfs (that uses macfuse) I do not have this problem with creationdate.

@ysmolski
Copy link

ysmolski commented Feb 9, 2022

Found that his problem appeared here first: #229. Most probably issue is in the go-fuse: hanwen/go-fuse#218, that needs to support FUSE_GETXTIMES = 62 opcode.

@warmup72
Copy link
Author

Maybe a new Information?
I´ve tried securefs and there the creation Date works - seems that the problem is not in fuse?

touch test.txt
stat test.txt
16777225 79165596 -rw-r--r-- 1 usr staff 0 0 "Apr 30 13:46:41 2022" "Apr 30 13:46:41 2022" "Apr 30 13:46:41 2022" "Apr 30 13:46:41 2022" 4096 0 0 test.txt
cp test.txt ./crypt
stat ./crypt/test.txt
922746891 3 -rw-r--r-- 1 usr staff 0 0 "Apr 30 13:47:50 2022" "Apr 30 13:47:48 2022" "Apr 30 13:47:48 2022" "Apr 30 13:47:48 2022" 4096 0 0 test.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants