patchfindutils - Patches: patch #3454, RFE: find -delete option

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3454: RFE: find -delete option

Submitted by:  Dmitry V. Levin <ldv>
Submitted on:  Mon 18 Oct 2004 05:32:01 PM UTC  
 
Category:  find enhancement Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  James Youngman <jay> Originator Name: 
Open/Closed:  Closed Release:  None
Fixed Release:  None

Sat 06 Nov 2004 02:27:11 PM UTC, comment #3: 

Your modification to pred_delete() is fine but also requires changing parse_delete(), to make -delete action as silent as -exec.

Dmitry V. Levin <ldv>
Sat 30 Oct 2004 05:31:35 PM UTC, comment #2: 

Applied to the development code, but I have changed the way in which the return value of the remove() call is used.

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 18 Oct 2004 05:36:21 PM UTC, comment #1: 

Corrected changelog entry.

Dmitry V. Levin <ldv>
Mon 18 Oct 2004 05:32:01 PM UTC, original submission:  

New action "-delete" for find utility minimizes race when find is used to remove some files.
The patch is based on patch from Douglas Siebert,
http://marc.theaimsgroup.com/?l=bugtraq&m=87930069226479&w=2

This patch is used in some GNU/Linux distributions including  Owl (Openwall GNU/*/Linux) and ALT Linux for a very long time.

See also discussion in linux-security-audit archive,
http://lists.nas.nasa.gov/archives/ext/linux-security-audit/2001/03/msg00061.html

Dmitry V. Levin <ldv>

 

Attached Files
file #7782:  findutils-4.2.3-alt-find-delete-no_default_print.patch added by ldv (556B - Change -delete action to be as silent as -exec)
file #7328:  findutils-4.2.1-owl-alt-delete.patch added by ldv (5KiB - findutils-4.2.1-owl-alt-delete.patch)
file #7327:  findutils-4.2.1-owl-alt-delete.patch added by ldv (5KiB - findutils-4.2.1-owl-alt-delete.patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Only logged-in users can vote.

 

 

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-06 ldv Attached File- => Added findutils-4.2.3-alt-find-delete-no_default_print.patch, #3851
2004-10-31 jay Open/ClosedOpen => Closed
2004-10-30 jay StatusNone => Done
    Assigned toNone => jay
2004-10-18 ldv Attached File- => Added findutils-4.2.1-owl-alt-delete.patch, #3778
2004-10-18 ldv Attached File- => Added findutils-4.2.1-owl-alt-delete.patch, #3777

Back to the top


Powered by Savane 3.5