bugGNU tar - Bugs: bug #64646, Remove "conflict"...


bug #64646: Remove "conflict" between --no-overwrite-dir and either --keep-old-files or --skip-old-files

Submitter:  Brent Spillner <spillner>
Submitted:  Sun 10 Sep 2023 02:20:04 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Sun 10 Sep 2023 02:20:04 AM UTC, original submission:  

There's no reason to report --no-overwrite-dir as conflicting with either --keep-old-files or --skip-old-files.  If any of these three options is passed, then the metadata for pre-existing directories will not be updated.  (--keep-old-files and --skip-old-files do of course still conflict with each other.)

The attached patch adds logic to effectively silently ignore --no-overwrite-dir whenever either --keep-old-files or --skip-old-files is passed.

Brent Spillner <spillner>


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

Attach Files:

Attached Files
file #55124:  intelligent-no-overwrite-dir-option-combining.patch added by spillner (951B - text/x-patch - Patch applies against origin/master as of commit 1cdad4cc280d334be41e42b989f48c380a24a667)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by spillner (Submitted 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.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-10 spillner Attached File- Added intelligent-no-overwrite-dir-option-combining.patch, #55124

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code