[BusyBox 0003744]: Dos2unix changes permissions

bugs at busybox.net bugs at busybox.net
Sat Jun 14 10:53:55 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3744 
====================================================================== 
Reported By:                curaga
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   3744
Category:                   Security
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-13-2008 11:42 PDT
Last Modified:              06-14-2008 03:53 PDT
====================================================================== 
Summary:                    Dos2unix changes permissions
Description: 
Using the dos2unix applet changes the file's permissions, which is clearly
something it shouldn't do.

Regardless of the previous perms, the new ones are always 0600 (rw- ---
---)

This is using 1.10.3 with patches applied, on a pentium2, glibc 2.7, gcc
4.2.3
====================================================================== 

---------------------------------------------------------------------- 
 vda - 06-13-08 21:26  
---------------------------------------------------------------------- 
Try attached a.patch, is it working for you? 

---------------------------------------------------------------------- 
 curaga - 06-14-08 03:53  
---------------------------------------------------------------------- 
Yes, it fixes this behavior 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-13-08 11:42  curaga         New Issue                                    
06-13-08 11:42  curaga         Status                   new => assigned     
06-13-08 11:42  curaga         Assigned To               => BusyBox         
06-13-08 21:26  vda            Note Added: 0008204                          
06-13-08 21:26  vda            File Added: a.patch                          
06-14-08 03:53  curaga         Note Added: 0008214                          
======================================================================




More information about the busybox-cvs mailing list