My Oracle Support Banner

Solaris: Date Command Output and File Time Stamps Are Displayed Incorrectly in a Non-Global Zone (NGZ) (Doc ID 1449187.1)

Last updated on AUGUST 20, 2019

Applies to:

Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.

Goal

When using the date command, or running ls -l, the date command output and the time stamps of files and directories are oddly formatted in the non-global zone:

# date e martë, 03 prill 2012 11.08.42.PD EDT


# cd /usr/local

# ls -lrt

total 540710
drwxr-xr-x   3 bin      bin          512 Kor 12  2011 var
drwxr-xr-x   2 bin      bin          512 Kor 12  2011 sbin
drwxr-xr-x  20 root     root         512 Mar 14 10:52 root
drwxr-xr-x  16 root     bin          512 Mar 28 12:30 doc
drwxr-xr-x   6 root     bin          512 Mar 28 12:30 include
drwxr-xr-x   7 root     bin         3072 Mar 28 12:30 lib
-rw-r--r--   1 root     bin    276669979 Pri  3 10:54 <file>

However, the date command output is correct on global zone.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.