[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    [fuse-devel] FUSE and sshfs with timestamps before 1970
From:       Valery Yundin <yuvalery+obnam () gmail ! com>
Date:       2014-01-29 16:55:47
Message-ID: CABNxngMr1fzVPBDDTxrzwBQMQs0qO_dyS91s+k-+2DA=5HbDEQ () mail ! gmail ! com
[Download RAW message or body]

Hi,

I've noticed that sshfs wraps dates before UNIX epoch. For instance:

> touch --date="1969-12-31 23:59:59" test.txt

"ls -l test.txt" on host:
> -rw-r--r-- 1 user users 0 Dec 31  1969 test.txt

"ls -l test.txt" on client:
> -rw-r--r-- 1 user users 0 Feb  7  2106 test.txt

Is it a sshfs-specific problem or FUSE does not allow exposing dates before
1970? I briefly looked into fuse.h and all fields in "struct fuse_attr" are
declared unsigned.

Is it a known limitation?


With best regards, Valery Yundin.
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic