Comments (4)
This must be a bug in cryptomator/cryptofs.
Using mirror example from cryptoamtor/fuse-nio-adapter without the cryptographic layer, the lastModified timestamp is preserved.
from cryptomator.
Adjusted log of the fuse-nio-adapter test with the cryptographic layer:
The service java has been started.
10:12:26.973 [main] INFO org.cryptomator.frontend.fuse.mount.MirroringFuseMountTest - Mounted successfully to: file:///Y:/
10:12:26.973 [main] INFO org.cryptomator.frontend.fuse.mount.MirroringFuseMountTest - Enter anything to unmount...
10:12:40.327 [Thread-3] DEBUG org.cryptomator.cryptolib.common.ReseedingSecureRandom - Seeding CSPRNG with 55 bytes...
10:12:40.327 [Thread-3] DEBUG org.cryptomator.cryptolib.common.ReseedingSecureRandom - Seeded CSPRNG.
10:12:40.335 [Thread-3] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3329593Z, lastAccessTime: 2024-01-29T18:12:40.3359497Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
10:12:40.337 [Thread-3] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3329593Z, lastAccessTime: 2024-01-29T18:12:40.3379665Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
10:12:40.342 [Thread-0] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3329593Z, lastAccessTime: 2024-01-29T18:12:40.3429961Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
10:12:40.346 [Thread-0] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3329593Z, lastAccessTime: 2024-01-29T18:12:40.3469914Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 0, fileKey: null)
10:12:40.359 [Thread-0] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3559672Z, lastAccessTime: 2024-01-29T18:12:40.3595218Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:40.366 [Thread-3] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3615267Z, lastAccessTime: 2024-01-29T18:12:40.3665286Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:40.367 [Thread-3] DEBUG org.cryptomator.frontend.fuse.ReadWriteAdapter - utimens /foobar.zip (last modification 2024-01-26T09:18:56.709065400Z, last access 2024-01-29T18:12:40.366528600Z)
10:12:40.377 [Thread-3] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-26T09:18:56.7090654Z, lastAccessTime: 2024-01-29T18:12:40.3776764Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:40.378 [Thread-3] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - release /foobar.zip (1)
10:12:40.409 [Thread-1] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3920272Z, lastAccessTime: 2024-01-29T18:12:40.3920272Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:40.801 [Thread-4] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3920272Z, lastAccessTime: 2024-01-29T18:12:40.3920272Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:41.338 [Thread-2] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3920272Z, lastAccessTime: 2024-01-29T18:12:40.3920272Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:41.340 [Thread-2] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3920272Z, lastAccessTime: 2024-01-29T18:12:40.3920272Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:41.349 [Thread-2] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - release /foobar.zip (2)
10:12:41.384 [Thread-2] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3920272Z, lastAccessTime: 2024-01-29T18:12:41.3493213Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:41.385 [Thread-2] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - getattr /foobar.zip (lastModifiedTime: 2024-01-29T18:12:40.3920272Z, lastAccessTime: 2024-01-29T18:12:41.3493213Z, creationTime: 2024-01-29T18:12:40.3278555Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 81981, fileKey: null)
10:12:41.389 [Thread-2] DEBUG org.cryptomator.frontend.fuse.ReadOnlyAdapter - release /foobar.zip (3)
Seems like, that after/while closing the file channel, the lastModified time is updated.
from cryptomator.
Depends on cryptomator/cryptofs#205.
from cryptomator.
Fixed with c527808
from cryptomator.
Related Issues (20)
- Unnecessary CPU usage on desktop app HOT 1
- MPC from K-lite codex freezes on any update after 11.1.0 HOT 2
- Unable to clear file contents HOT 3
- Cryptomator shows update available to unsupported version HOT 3
- PPA - minor error HOT 3
- "Launch cryptomator on system start" doesn't work on macOS HOT 7
- Configure Proxy and Root CA store in Cryptomator settings and provide defaults for shared devices
- Dokany (1.5) volume type incompatibility with obsidian / excalidraw windows application HOT 1
- Cryptomator crashes with error code 6HCL:2GTN:615N
- UI not responding on Ubuntu 24.04 or PopOs 22.04 - NVIDIA and regular installs HOT 1
- Option to disable the repeated pop-up asking to enable automatic update checks HOT 1
- Show vault size in vault statistics
- [macOS] Replace deprecated `kLSSharedFileListSessionLoginItems` HOT 2
- Application does not start: $ in APPDATA variable
- Cryptomator does not open vaults anymore
- Force Lock not Forceful Enough
- Add XChacha20 poly1305 HOT 2
- Locking vault results in cryptomator hanging HOT 2
- build.sh for mac dmg fails with cannot resolve dependencies with ${javafx.platform} HOT 3
- CI: Building arm64 DMG artifact fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptomator.