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
Keep modification date and other dates of original file #220
Comments
Just tested this with a regular WebDAV drive. It seems to me that this is a behavior by Finder on OS X that it doesn't preserve the original dates. This probably can only be solved with an alternative frontend like FUSE as discussed in #206. |
Hello, I have the same issue. All the dates are reset to the current date once copied to the vault. Is there any workaround for it? Thanks in advance! |
I'm currently testing cryptomator within a small team. It would be great if the original modification date of each file would be preserved and just changed once a file was modified. |
Same problem here on ubuntu 16.04 using Nautilus. Any comment how we can work around it? |
Same problem in Windows 7. Actually, for the moment I do not even use a cloud space, just a HDD connected by USB or SATA. |
Is that so? Always thought that Windows wasn't affected by this, because Windows Explorer is doing a PROPPATCH. Could be wrong though, but yeah for Windows we'll switch to Dokany (Issue #207). |
It is! HLBU refused to work with an error message. Then I copied a file manually to the target directory (on my HDD) and compared the dates with the source. All three date properties of the taget were equal to Now(). I had a look at Issue #207/Dokany. When do you think will that release be ready? Did I get this right? Cryptomator on Dokany would support HardLinks, too? |
Just for my understanding ... I would expect that a lot of tools are relying on those date attributes (at least all I use). Thanx for supporting! |
Wait what? The current situation is that WebDAV clients tend to not set the modification dates properly, which is out of Cryptomator's control. That's why we're hoping to fix this particular issue, when the FUSE/Dokany integration is finished. Of course, we'd like to support date attributes then. Hard and soft links are just something that we'll have to see in the future, but that's not what this issue is about. 😄 |
Sorry, my fault - I mixed things up %-) (although I am not drunk :-) Anyhow, what backup software would you recommend as a replacement for HLBU? |
Unfortunately, I don't have any recommendation. I haven't looked into backup softwares in detail yet, but I'm also a Mac guy, so I'm really the wrong one to ask for Windows advice/tools. 😅 |
@Didix57, sorry if i'm late, I just found out about Cryptomator yesterday. I use SyncBackFree for my backup. I recommend using it for the initial encryption because it actually retains the modified date of my files. This was an issue for me before when I just copy/pasted the files or even used Teracopy. |
Checked with 1.4.0-beta1 under Ubuntu 16.04, but modification date is NOT preserved. I created a new vault and mounted it using fuse. Then copied an old file using "cp -a " or "cp -p", but nothing is preserved, no ownership, no timestamps, no permissions. |
chown is not supported, as the files always belong to the owner of the fuse process. We could add support to override this, using the For chmod support we need to think about how to integrate it properly. For example we can not allow to remove owner read and execute permissions from directories. But both are a different topic. This issue is about creation/modification/access times, only. |
Isn't #323 a duplicate of this? I've tested 1.4.0 beta 2 on Suse Leap 15 and the issue still persists. I'm happy to help out. Right now, backing anything up by syncing into the vault with rsync is useless without correct time stamps. |
I tested this on Windows 10 with Cryptomator 1.4.0 Beta 2 with Dokany. |
Good news to everybody: we just fixed the Timestamp-Problem in https://github.com/cryptomator/cryptofs and thus these changes will be included in 1.4.0 version! |
Fixed with e08c2b7 . |
Please retest with 1.4.0-beta3. |
Works as intended on OpenSuse Leap 15. Well done and THANKS! |
Agreed on Ubuntu 16.04 / Mint 18.3. Modification date is preserved, while ownership and permissions are not. Nevertheless: Very important FIX! |
Tested on Windows10 with Dokany and WebDav and can confirm that the timestamp is untouched now. |
Seems this issue is still not fully fixed on Cryptomator 1.4.10. On MacOS Mojave 10.14.4, I copy an existing file into the vault. The modification date on the file remains the same. However the created date is new - it is the date the file is copied into the vault. I am using FUSE. Is it possible to maintain the same created date on the file as well? |
@lassomagic You're right, this is a regression: See #867. We found the cause and will fix it in 1.4.11. You can already download a pre-release version of 1.4.11 over here. |
thanks @overheadhunter |
This bug happens again on ExFat Devices with Win 10. |
Bug is still present on MacOS BigSur. |
Hi, please could you help as the problem is still happening in macOS Big Sur 11.4 as the above comment has also mentioned. Do you know if this will be given some help to? Thanks so much |
@stefandeml @poppilov Please create a new bug report, as the original bug has been fixed and the fix was confirmed multiple times. Therefore we need more information, if you're affected again. |
Still same issue for me too... I think i'll stop using it if i risk to loose my data. |
@UmbraVerkisto As already suggested, please search our issue tracker for any open tickets regardung this and if none exists, open new ticket(s) (at best for each adapter a new one). Also note that, for the combination of MacOS+WebDAV the problem cannot be solved on our side, see #220 (comment) |
Not sure if this is possible, but it would be great if the modification date and other dates of the original file can be kept after initial encryption. On the one hand it's just nice-to-have, because original metadata don't get lost. On the other hand it would then be compatible with synchronisation applications (like rsync), because they rely on the modification date.
I know this might have implications on the security, because some metadata would be revealed, but it would increase compatibility and preserve original metadata.
The text was updated successfully, but these errors were encountered: