Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 163408

Summary: app-text/dos2unix changes permissions to 0600
Product: Gentoo Linux Reporter: Jacek <jacek_kal>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: radek
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jacek 2007-01-23 09:19:49 UTC
If a file has eg. 0644 permissions before conversion, after unix2dos it has 0600.

$ ls -l autoinst.bat
-rw-r--r-- 1 jac users 140 sty 23 10:12 autoinst.bat
$ unix2dos autoinst.bat
unix2dos: converting file autoinst.bat to DOS format ...
$ ls -l autoinst.bat
-rw------- 1 jac users 140 sty 23 10:18 autoinst.bat



Reproducible: Always

Steps to Reproduce:
Comment 1 Jacek 2007-01-23 09:22:04 UTC
And version of unix2dos:
unix2dos 2.2 Copyright (c) 1994-1995 Benjamin Lin. (1995.03.31)

The same error is with dos2unix...
dos2unix 3.1 (Thu Nov 19 1998)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 20:17:56 UTC

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