[PATCH] file names longer then 512 symbols are not supported

Bug #418170 reported by Plamen K. Kosseff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned
0.5
Fix Released
Medium
Unassigned
0.6
Fix Released
Medium
Unassigned

Bug Description

duplicity: 0.6.04

Python 2.6.2 (r262:71600, Apr 21 2009, 06:03:57)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)] on linux2

gentoo: experimental

I'm trying to backup files that have more then 512 symbol names. Which is currently impossible because TarFile._return_gnulong does not round these to multiple of BLOCKSIZE.

The attached patch fixes this and add support for reading archives with such file names.

Tags: patch
Revision history for this message
Plamen K. Kosseff (p-kosseff) wrote :
description: updated
summary: - file names longer then 512 symbols are not supported
+ [PATCH] file names longer then 512 symbols are not supported
tags: added: patch
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Thanks for the patch!

Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.6.05
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.