Bug 132145 - dos2unix doesn't preserve the file permissions
dos2unix doesn't preserve the file permissions
Product: Fedora
Classification: Fedora
Component: dos2unix (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2004-09-09 03:39 EDT by Péter, Soós
Modified: 2007-11-30 17:10 EST (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Péter, Soós 2004-09-09 03:39:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.7.2)

Description of problem:
It seems like dos2unix doesn't preserve the file permissions (group

$ ls -l proba.txt
-rw-rw-r--  1 sp sp 39 Sep  9 09:24 proba.txt
$ dos2unix proba.txt
dos2unix: converting file proba.txt to UNIX format ...
$ ls -l proba.txt
-rw-------  1 sp sp 37 Sep  9 09:24 proba.txt

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create a file with permissions 664
2. dos2unix it


Actual Results:  dos2unix doesn't preserve the file permissions

Expected Results:  dos2unix preserves the file permissions

Additional info:
Comment 1 Mike A. Harris 2004-09-26 05:04:56 EDT

*** This bug has been marked as a duplicate of 91331 ***
Comment 2 Tim Powers 2005-05-19 20:35:36 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.


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