Bug 14176 - find for some reason does not honor CONFIG_FEATURE_FIND_DELETE=y
Summary: find for some reason does not honor CONFIG_FEATURE_FIND_DELETE=y
Status: RESOLVED INVALID
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 23:49 UTC by Vadim Kantorov
Modified: 2021-08-23 00:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Kantorov 2021-08-22 23:49:29 UTC
I've enabled several find's features, such as CONFIG_FEATURE_FIND_EMPTY=y, CONFIG_FEATURE_FIND_PRINT0=y and CONFIG_FEATURE_FIND_DELETE=y.

All of them appear compiled into the binary, except `-delete`.

Is it a bug?

A SO question from 2015 also complains about lack of `-delete` support: https://askubuntu.com/questions/583073/using-busyboxs-find-to-delete-recursively-some-files
Comment 1 Vadim Kantorov 2021-08-23 00:15:45 UTC
Hmm, found in option definition that CONFIG_FEATURE_FIND_DELETE depends on  CONFIG_FEATURE_FIND_DEPTH. Seems working!