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

Web Dav mount files appear as 1999-09-04 date #7797

Open
imadevel opened this issue Apr 24, 2024 · 1 comment
Open

Web Dav mount files appear as 1999-09-04 date #7797

imadevel opened this issue Apr 24, 2024 · 1 comment

Comments

@imadevel
Copy link

Hello,
I have a strange Problem with a WebDAV mount, the folder is mounted and everthing seeams to work, but when I open a file with LibreOffice it complains about the fact that the file was changed on the drive, since I am the only one accessing the file I was confused
So I tested it after saving the file it appears as

Access: (0644/-rw-r--r--)  Uid: ( 1002/    user)   Gid: ( 1002/    user)
Access: 1999-09-04 02:00:00.000000000 +0200
Modify: 1999-09-04 02:00:00.000000000 +0200
Change: 1999-09-04 02:00:00.000000000 +0200
 Birth: -

The stats change after a few seconds. But it seems to be enough to confuse LibreOffice
Also I tested on different Programms, when saved with a texteditor like nano the file also has that modification date.

Also I checked different webdav Servers, it was needed on an Alfresco Server but the same behavior is seen when mounting a Nextcloud share. So I assume the Probleme is not on the Server Side

System mounting the share is 'Debian GNU/Linux 12 (bookworm)' with rclone Version 'rclone 1.60.1+dfsg-2+b5' installed.

This is a reproducible problem. Also sometimes files have 0 Bytes but at the moment I am not sure if there problems are related at all and it is completely unreproducible

Help would be greatly appreciated, tried to change the cache the 'attr-timeout' but with no luck

@iikira
Copy link

iikira commented Apr 24, 2024

This looks like a call to time.Truncate with fs.ModTimeNotSupported.

@edc-w edc-w added this to the Help Wanted milestone May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants