[BusyBox 0003844]: tar replaces permissions on existing directories

bugs at busybox.net bugs at busybox.net
Mon Jun 23 17:41:49 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3844 
====================================================================== 
Reported By:                wz2b
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   3844
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-23-2008 09:06 PDT
Last Modified:              06-23-2008 10:41 PDT
====================================================================== 
Summary:                    tar replaces permissions on existing directories
Description: 
I have been diagnosing some dpkg installation behavior that differs from
what non-busybox dpkg.  The unpacking in dpkg actually occurs in the code
for tar, so as an experiment I tried to determine if tar has the same
behavior.  The scenario is this: if an archive contains intermediate
directories, busybox's untar apparently sets the permissions of those
intermediate directories to match the tarball even if the directory
already existed.



====================================================================== 

---------------------------------------------------------------------- 
 vda - 06-23-08 10:41  
---------------------------------------------------------------------- 
> What's perplexing is what's the "right" thing to do?

Right thing to do is to adhere to standards, and to GNU tools' behavior
(in this order of importance). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-23-08 09:06  wz2b           New Issue                                    
06-23-08 09:06  wz2b           Status                   new => assigned     
06-23-08 09:06  wz2b           Assigned To               => BusyBox         
06-23-08 09:12  wz2b           Issue Monitored: wz2b                        
06-23-08 10:41  vda            Note Added: 0008474                          
======================================================================




More information about the busybox-cvs mailing list