Skip Menu |

This queue is for tickets about the Fuse CPAN distribution.

Report information
The Basics
Id: 71271
Status: resolved
Priority: 0/
Queue: Fuse

People
Owner: demon [...] now.ai
Requestors: TARYK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.14
Fixed in: 0.15



Subject: Stat items Access/Modify/Changed time are without subseconds.
On mounted FUSE filesystem command stat returned time without subseconds. For example: Access: 2011-09-25 06:15:04.000000000 +0300 Modify: 2011-07-25 14:15:05.000000000 +0300 Change: 2011-07-25 14:15:05.000000000 +0300 But original stat() takes from files in which Access/Modify/Changed time is with subseconds: Access: 2011-09-27 11:59:47.748553812 +0300 Modify: 2011-08-15 17:11:59.893535313 +0300 Change: 2011-08-15 17:11:59.893535313 +0300 I've used Time::HiRes::stat in getattr function.
On Tue Sep 27 07:40:08 2011, TARYK wrote: Show quoted text
> On mounted FUSE filesystem command stat returned time without > subseconds. For example: > > Access: 2011-09-25 06:15:04.000000000 +0300 > Modify: 2011-07-25 14:15:05.000000000 +0300 > Change: 2011-07-25 14:15:05.000000000 +0300 > > But original stat() takes from files in which Access/Modify/Changed time > is with subseconds: > > Access: 2011-09-27 11:59:47.748553812 +0300 > Modify: 2011-08-15 17:11:59.893535313 +0300 > Change: 2011-08-15 17:11:59.893535313 +0300 > > I've used Time::HiRes::stat in getattr function.
Could you please check latest git version which includes fix for this: https://github.com/dpavlin/perl-fuse/commit/788f7ce661e7404b75e7f42e623ef638b62a0a42
Support has also been added for passing times as arrays containing separate second and nanosecond values; if you wish to receive times through utimens() in this format, pass "'utimens_as_array' => 1" to Fuse::main().
As this has been addressed for some time now, I believe this is safe to close. If this hasn't solved your problem, please re-open this ticket and let us know. Thanks! -- Derrik Pates demon@now.ai