[virt-tools-list] [virt-bootstrap] [PATCH] untar: Don't strip leading '/'

2017-08-05 Thread Radostin Stoyanov
By default tar strips leading '/'s from file names. However if we have a symlink inside an archive with link which starts with '/' then this slash will be removed. [1] This will result as error "Cannot open:Permission denied" [2] when tar tries to create the symlink with the invalid target path.

Re: [virt-tools-list] [virt-bootstrap] [PATCH] untar: Don't strip leading '/'

2017-08-05 Thread Radostin Stoyanov
On 05/08/17 20:23, Radostin Stoyanov wrote: > By default tar strips leading '/'s from file names. However > if we have a symlink inside an archive with link which starts > with '/' then this slash will be removed. [1] > > This will result as error "Cannot open:Permission denied" [2] > when tar tr