Bug 132145

Summary: dos2unix doesn't preserve the file permissions
Product: [Fedora] Fedora Reporter: Péter, Soós <sp>
Component: dos2unixAssignee: Mike A. Harris <mharris>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-20 00:35:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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

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

$ 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):
dos2unix-3.1-17

How reproducible:
Always

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 09:04:56 UTC

*** This bug has been marked as a duplicate of 91331 ***

Comment 2 Tim Powers 2005-05-20 00:35:36 UTC
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