https://bugzilla.mindrot.org/show_bug.cgi?id=2106

            Bug ID: 2106
           Summary: When TZ isn't explicitly set ls can give different
                    time stamps
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 5.3p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sftp
          Assignee: [email protected]
          Reporter: [email protected]

When I do an ls -ltr with no arguments I get a listing for a file
saying something like

sftp> ls -ltr
:
-rw-rw-rw-   1 user     group       10466 May 14 20:42 P1.XXXX
:

However when I list the file explicitly

sftp> ls -ltr P1.XXXXX
-rw-rw-rw-    0 0        0           10466 May 14 15:42 P1.XXXXX

sftp> ls -l P1.XXXXX
-rw-rw-rw-    0 0        0           10466 May 14 15:42 P1.XXXXX

The SFTP Server and Client are both in CDT timezone though the TZ
environment variable isn't set and the 20:42 is obviously the UT time

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to