Bug 132146 - unix2dos doesn't preserve the file permissions
Summary: unix2dos doesn't preserve the file permissions
Keywords:
Status: CLOSED DUPLICATE of bug 91332
Alias: None
Product: Fedora
Classification: Fedora
Component: unix2dos
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-09 07:40 UTC by Péter, Soós
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:05:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Péter, Soós 2004-09-09 07:40:36 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 unix2dos 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
$ unix2dos proba.txt
unix2dos: converting file proba.txt to DOS 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:05:30 UTC

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

Comment 2 Red Hat Bugzilla 2006-02-21 19:05:32 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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