Skip to content

Add precautions for directory tree removal command #6

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

Merged

Conversation

sadielbartholomew
Copy link
Member

Close #5, including conveying intent by message and then waiting for 3 seconds as pre-caution even when the env. var. in question, $ESDOC_DIR_TMP , is defined. Can't be too careful with an under-the-hood recursive rm command!

@sadielbartholomew
Copy link
Member Author

@davidhassell if you have bandwidth, I would appreciate a quick sanity check on this one before I merge. If so, thanks.

@sadielbartholomew sadielbartholomew changed the title Add pre-cautions for directory tree removal command Add precautions for directory tree removal command Mar 20, 2025
@sadielbartholomew
Copy link
Member Author

Feedback and approval pending provided externally from David. Now ready to merge.

@sadielbartholomew sadielbartholomew merged commit dbd0f83 into ES-DOC:master Mar 20, 2025
@sadielbartholomew sadielbartholomew deleted the fix-dangerous-rm-statement branch March 20, 2025 11:45
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

Successfully merging this pull request may close these issues.

Dangerous: script can plausibly delete filesystem via rm -rf /*
1 participant