[RTEMS Project] #2413: Untar_FromMemory breaks on create directory if they exists, even on root one.

RTEMS trac trac at rtems.org
Mon Sep 7 09:01:05 UTC 2015


#2413: Untar_FromMemory breaks on create directory if they exists, even on root
one.
---------------------+------------------
 Reporter:  ppisa    |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.11
Component:  General  |    Version:  4.11
 Severity:  normal   |   Keywords:
---------------------+------------------
 When directory specified by TAR file already exists then Untar_FromMemory
 bails out with error EEXIST (File exists).

 {{{
 Untar: failed to create directory ./
 Untar_FromMemory returned RTEMS_TASK_EXITTED
 }}}

 Because TAR includes "./" directory in archive by default and IMFS
 includes root directory, UNTAR fails for standard configurations.

--
Ticket URL: <http://devel.rtems.org/ticket/2413>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list