Bug Fix Advisory dos2unix and unix2dos bug fix update

Advisory: RHBA-2005:145-12
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2006-03-13
Last updated on: 2006-03-13
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
OVAL: N/A

Details

Updated dos2unix and unix2dos packages that fix various bugs are now available.

The dos2unix utility converts DOS or MAC format text files to UNIX
format. The unix2dos utility converts plain text files in UNIX format to
DOS format.

The following issues have been addressed in this update:

-- When converting text files, the file mode was not preserved.
-- Files were inadvertently deleted when the input and output files
were on different file systems.
-- Various documentation updates have been included.

Users of dos2unix and unix2dos should upgrade to these updated packages,
which resolve these issues.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied. Use Red Hat
Network to download and update your packages. To launch the Red Hat
Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

http://www.redhat.com/docs/manuals/enterprise/

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
dos2unix-3.1-7.EL.22.src.rpm     7e4c026ce53ae05c71571b322142e1c3
unix2dos-2.2-12.EL.25.src.rpm     808bae022a0323fc24bdacdc025cbb0a
 
IA-32:
dos2unix-3.1-7.EL.22.i386.rpm     8de8092133645830d8d09e2c56d9eb66
unix2dos-2.2-12.EL.25.i386.rpm     756d5a60af41a3971c35962c5de30234
 
IA-64:
dos2unix-3.1-7.EL.22.ia64.rpm     3e3e186de3b1469ff103b35c765ef619
unix2dos-2.2-12.EL.25.ia64.rpm     a011d6d53e33175c4d11246069b687b6
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
dos2unix-3.1-7.EL.22.src.rpm     7e4c026ce53ae05c71571b322142e1c3
unix2dos-2.2-12.EL.25.src.rpm     808bae022a0323fc24bdacdc025cbb0a
 
IA-32:
dos2unix-3.1-7.EL.22.i386.rpm     8de8092133645830d8d09e2c56d9eb66
unix2dos-2.2-12.EL.25.i386.rpm     756d5a60af41a3971c35962c5de30234
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
dos2unix-3.1-7.EL.22.src.rpm     7e4c026ce53ae05c71571b322142e1c3
unix2dos-2.2-12.EL.25.src.rpm     808bae022a0323fc24bdacdc025cbb0a
 
IA-32:
dos2unix-3.1-7.EL.22.i386.rpm     8de8092133645830d8d09e2c56d9eb66
unix2dos-2.2-12.EL.25.i386.rpm     756d5a60af41a3971c35962c5de30234
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
dos2unix-3.1-7.EL.22.src.rpm     7e4c026ce53ae05c71571b322142e1c3
unix2dos-2.2-12.EL.25.src.rpm     808bae022a0323fc24bdacdc025cbb0a
 
IA-64:
dos2unix-3.1-7.EL.22.ia64.rpm     3e3e186de3b1469ff103b35c765ef619
unix2dos-2.2-12.EL.25.ia64.rpm     a011d6d53e33175c4d11246069b687b6
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

183627 - dos2unix doesn't preserve mode
183628 - dos2unix delete files.
183629 - dos2unix erroneously strips \r



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/