- Issued:
- 2005-05-19
- Updated:
- 2005-05-19
RHBA-2005:195 - Bug Fix Advisory
Synopsis
dos2unix and unix2dos bug fix update
Type/Severity
Bug Fix Advisory
Topic
Updated dos2unix and unix2dos packages that resolve various bugs are now
available.
Description
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.
A number of problems have been fixed in dos2unix and unix2dos
in this update, including:
- failure to preserve the file mode when converting text files
- files inadvertently deleted when the input and output files
are on different filesystems
- documentation updates
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:
Affected Products
- Red Hat Enterprise Linux Server 3 x86_64
- Red Hat Enterprise Linux Server 3 ia64
- Red Hat Enterprise Linux Server 3 i386
- Red Hat Enterprise Linux Workstation 3 x86_64
- Red Hat Enterprise Linux Workstation 3 ia64
- Red Hat Enterprise Linux Workstation 3 i386
- Red Hat Enterprise Linux Desktop 3 x86_64
- Red Hat Enterprise Linux Desktop 3 i386
- Red Hat Enterprise Linux for IBM z Systems 3 s390x
- Red Hat Enterprise Linux for IBM z Systems 3 s390
- Red Hat Enterprise Linux for Power, big endian 3 ppc
Fixes
- BZ - 55183 - dos2unix mangles file permissions
- BZ - 57507 - man page deficiencies for dos2unix
- BZ - 57508 - dos2unix erroneously strips \r
- BZ - 65548 - dos2unix fails when output is on other file system
- BZ - 80493 - unix2dos fails when converting a file not in partition of CWD
- BZ - 91331 - dos2unix doesn't preserve mode
- BZ - 91332 - unix2dos doesn't preserve mode
- BZ - 112710 - not retaining the file permission.
- BZ - 123069 - dos2unix delete files.
- BZ - 132145 - dos2unix doesn't preserve the file permissions
- BZ - 136148 - missing return statement
CVEs
(none)
References
(none)
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.