Time stamp on created files shows different than Date command

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 7

Issue

  • Getting difference between Date and timestamp of created files:
 # ls -l –time-style=full-iso

 # date

Resolution

  • Correct the timestamp on VCE VBLOCK BOX.

Root Cause

  • Due to wrong nfs timezone, issue was occuring. Issue was occuring only in mounted NFS directory for all users.

Diagnostic Steps

  • Check whether issue is with all users or some users.
  • Verify that whether issue occuring on NFS or other filesystems.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.