Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement -execdir for safety and security #476

Closed
mcandre opened this issue Jan 16, 2024 · 2 comments
Closed

Implement -execdir for safety and security #476

mcandre opened this issue Jan 16, 2024 · 2 comments

Comments

@mcandre
Copy link

mcandre commented Jan 16, 2024

The popular BSD and GNU implementations of findutils implement an -execdir flag on find, which provides more accurate exit code information (-exec implicitly drops failing codes on the floor).

https://www.gnu.org/software/findutils/manual/html_mono/find.html#Conclusion

Can toybox find please implement this flag, too?

Some larger operating systems like Alpine Linux default their find implementation to toybox's, with deleterious results unless the GNU findutils package is installed, overriding the default.

@landley
Copy link
Owner

landley commented Jan 16, 2024

We have execdir already. Are you saying it doesn't work?

When did Alpine Linux start defaulting to toybox find? I thought they used busybox?

@mcandre
Copy link
Author

mcandre commented Jan 17, 2024 via email

@landley landley closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants