helpGNU tar - Support: sr #107564, Feature request: option for...

 
 

sr #107564: Feature request: option for automatically fixing privileges on archive creation

Submitted by:  Oleg <cronfy>
Submitted on:  Sat 01 Jan 2011 10:42:41 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 06 Jan 2011 03:29:27 PM UTC, comment #1:

First version of patch did not work with incremental archives. I corrected it, not it deals with thec correctly. I attached new version to the ticket.

(file #22364)

Oleg <cronfy>
Sat 01 Jan 2011 10:42:41 PM UTC, original submission:

When GUN Tar is used to backup user data, it may fail to archive some files because of wrong permissions on them (i.e. user did chmod 000).

It may be desired that user data would be archived anyway. 'chmod -R u+rX' could be run before 'tar -c', but if user has many files, it costs resourses and is not guaranteed that permissions will be still correct on tar invocation.

To solve this problem on our servers I created a small patch that adds --fix-permissions option, that fixes permissions on the fly if it is required.

I attached this patch (against 1.25) to the ticket. Feature request is to add this patch to the distribution :)

Oleg <cronfy>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #22364:  fix-permissions.patch added by cronfy (5kB - text/x-patch - another version of patch that works with incremental archives)
file #22334:  fix-permissions.patch added by cronfy (3kB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cronfy (Submitted the item)
  • -unavailable- added by cronfy
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Jan 2011 03:29:27 PM UTCcronfyAttached File-=>Added fix-permissions.patch, #22364
    Sat 01 Jan 2011 10:42:41 PM UTCcronfyCarbon-Copy-=>Added cronfy
      Attached File-=>Added fix-permissions.patch, #22334

    Back to the top


    Powered by Savane 3.1-cleanup