1
mirror of https://github.com/rclone/rclone synced 2024-12-18 07:45:55 +01:00
rclone/cmd/cmount
Nick Craig-Wood 0b7f959433 cmount: when setting dates discard out of range dates
It appears that sometimes Windows/WinFSP/cgofuse sends dates which are
the epoch to rclone.  These dates appear as 1601-01-01 00:00:00 plus
or minus the timezone.

These dates aren't being sent from rclone.

This patch filters dates out before 1601-01-02 so rclone does not
attempt to set them.

See: https://forum.rclone.org/t/bug-corruption-of-modtime-via-vfs-layer/12204
See: https://forum.rclone.org/t/io-error-googleapi-error-403-insufficient-permission-insufficientpermissions/11372
See: https://github.com/billziss-gh/cgofuse/issues/35
2020-01-18 11:13:35 +00:00
..
fs.go cmount: when setting dates discard out of range dates 2020-01-18 11:13:35 +00:00
mount_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
mount_unsupported.go Use build tags to control when and where cmount is built 2017-05-19 17:08:04 +01:00
mount.go mount,cmount: make sure we call unmount when exiting 2019-11-11 22:08:52 +00:00