[pbs-devel] applied: [PATCH proxmox-backup] pxar: create: add entry: fix anchored path pattern matching

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Apr 6 17:02:45 CEST 2022


On 28.03.22 13:11, Fabian Ebner wrote:
> Similar to 874bd545 ("pxar: fix anchored exclusion at archive root"),
> but this time for inclusion. Because of the inconsistency, it could
> happen that a file included in generate_directory_file_list() got
> excluded in add_entry(), e.g. with a .pxarexclude file like
>> *
>> !/supposed-to-be-included
> 
> Reported-by: Dominik Csapak <d.csapak at proxmox.com>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> An alternative would be to remove the path pattern matching from
> add_entry() entirely. AFAICT, it's only called with the files generated
> by generate_directory_file_list() anyways.


possible, but for now I apply this one to ensure that /some/ fix is in. 

>  pbs-client/src/pxar/create.rs | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pbs-devel mailing list