[RTEMS Project] #2768: untar does not keep permissions correctly.

RTEMS trac trac at rtems.org
Mon Aug 1 00:13:50 UTC 2016


#2768: untar does not keep permissions correctly.
---------------------+--------------------
 Reporter:  chrisj   |      Owner:  chrisj
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.12
Component:  General  |    Version:  4.12
 Severity:  normal   |   Keywords:
---------------------+--------------------
 On disk I have 'x' with:
 {{{
 $ ls -las x
 4 -rwxr-xr-x  1 chris  caeng  48 Jul 14 11:46 x
 }}}

 the tar file shows:

 {{{
 $ tar tvf rootfs.tar
 -rwxr-xr-x  0 chris  caeng      48 Jul 14 11:46 x
 }}}

 and in the IMFS it shows:

 {{{
 [/] # ls -las x
 0 -rw-r--r--  1 root  root  48 Jan  1 00:00 x
 }}}

 The makes adding 'joel' scripts difficult.

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


More information about the bugs mailing list