Bug 91332 - unix2dos doesn't preserve mode
unix2dos doesn't preserve mode
Status: CLOSED ERRATA
Product: Red Hat Raw Hide
Classification: Retired
Component: unix2dos (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
: 132146 (view as bug list)
Depends On:
Blocks: FC3Target
  Show dependency treegraph
 
Reported: 2003-05-21 11:15 EDT by hjl
Modified: 2007-04-18 12:53 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-19 20:35:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
A patch to preserve mode (852 bytes, patch)
2003-05-21 11:16 EDT, hjl
no flags Details | Diff

  None (edit)
Description hjl 2003-05-21 11:15:39 EDT
[hjl@gnu-d tmp]$ touch foo
[hjl@gnu-d tmp]$ chmod +x foo
[hjl@gnu-d tmp]$ ls -l foo
-rwx--x--x    1 hjl      hjl             0 May 21 08:16 foo
[hjl@gnu-d tmp]$ unix2dos foo
unix2dos: converting file foo to DOS format ...
[hjl@gnu-d tmp]$ ls -l foo
-rw-------    1 hjl      hjl             0 May 21 08:17 foo
Comment 1 hjl 2003-05-21 11:16:12 EDT
Created attachment 91861 [details]
A patch to preserve mode
Comment 2 Mike A. Harris 2004-09-26 05:05:37 EDT
*** Bug 132146 has been marked as a duplicate of this bug. ***
Comment 3 Tim Waugh 2004-10-11 09:25:07 EDT
Tried to send this upstream but it bounced.  Built as 2.2-23.
Comment 4 Mike A. Harris 2004-10-11 21:34:29 EDT
Tim:

Yeah, neither dos2unix and unix2dos seem to have an upstream
maintainer for several years now.  I guess the best thing to do
would be to gather all the patches in our bugzilla together,
gather debian/mandrake/suse/etc. packages, and put up a new
project on sourceforge or somewhere to pull all fixes into one
single place that everyone can then use.  Then each distribution
package maintainer can have write access to the sf repo and things
get fixed in one place.  ;)
Comment 5 Doncho N. Gunchev 2004-11-04 13:07:30 EST
Seems to work for me.
Comment 6 Tim Powers 2005-05-19 20:35:34 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-195.html

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