-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
utimens atime/mtime parameters jumping about non-monotonically #34
Comments
david@flashheart: |
Is this related to #58 |
If I repeatedly touch the same file, then rather than increasing by a few seconds each time to match the current time, the atime and mtime my utimens function receives are jumping about (in either direction) by as much as 15 minutes, and may be several minutes ahead of (I haven't seen behind) the current time as returned by Date.now(), which is used for ctime. My system's clock is correct.
At the beginning of my utimens function, I have an optional debug output that shows the parameters, before I do anything else with them. The problem shows here, as well as in the output of the stat command once those times have been saved.
Below I have attempted to demonstrate this in an orderly way.
The text was updated successfully, but these errors were encountered: