bugGNU tar - Bugs: bug #66590, tar fails update (-u) on filename...

 
 

bug #66590: tar fails update (-u) on filename containing [

Submitter:  None
Submitted:  Sat 21 Dec 2024 02:06:59 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  gray
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 21 Dec 2024 02:06:59 PM UTC, original submission:  

Hey, recently I wanted to use TAR as a simple backup solution and I encountered following:
touch 1
touch 1\[

tar --version
tar (GNU tar) 1.35

tar -cf test.tar
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.

tar -uvf test.tar 1 1\[
1
tar: 1[: Not found in archive
tar: Exiting with failure status due to previous errors

However, this test works properly sometimes, like when tar archive is not created empty. Bad news is that it fails anytime when encountering a complex file name, like 'Metallica – Nothing Else Matters (Piano Cover) [SBPliz7sF78].webm'.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-03-14 gray StatusNone Works For Me
        Assigned toNone gray
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.14-430a.
    Corresponding source code