Bug 9242 - shar y2k problem
shar y2k problem
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: sharutils (Show other bugs)
6.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-02-08 14:41 EST by flachance
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-08 15:52:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description flachance 2000-02-08 14:41:21 EST
sharutils 4.2-14

On any dates past December 31 1999. If a file is created then included in
a shar archive with shar --m, when the archive is extracted the file does
not keep its original modification time attributes, also an extra empty
file gets created.
Example for January 1st 2000:

#ls -l
-rw-r--r--
Comment 1 flachance 2000-02-08 14:54:59 EST
Example for Jabnuary 1st 2000:

#ls -l
-rw-r--r--   1  root     root        0 Jan  1 23:52 test.01012000
-rw-r--r--   1  root     root        0 Dec 31 23:52 test.12311999
-rw-r--r--   1  root     root        0 Sep  9 23:53 test.09091999
-rw-r--r--   1  root     root        0 Jan  1  1999 test.01011999
#shar --m * > shartest
shar: Saving test.01012000 (empty)
shar: Saving test.12311999 (empty)
shar: Saving test.09091999 (empty)
shar: Saving test.01011999 (empty)
#rm test*
#sh shartest
x - creating lock directory
x - extracting test.01012000 (empty)
x - extracting test.12311999 (empty)
x - extracting test.09091999 (empty)
x - extracting test.01011999 (empty)
#ls -l
-rw-r--r--   1  root     root        0 Jan  1 23:53 01012352100
-rw-r--r--   1  root     root        0 Jan  1 23:53 test.01012000
-rw-r--r--   1  root     root        0 Dec 31 23:52 test.12311999
-rw-r--r--   1  root     root        0 Sep  9 23:53 test.09091999
-rw-r--r--   1  root     root        0 Jan  1  1999 test.01011999
Comment 2 Bill Nottingham 2000-02-08 15:52:59 EST
Fixed in sharutils errata.

Note You need to log in before you can comment on or make changes to this bug.