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

FS#2262 - “Reset to defaults” does not remove all files/directories #7144

Open
openwrt-bot opened this issue Apr 29, 2019 · 0 comments
Open
Labels

Comments

@openwrt-bot
Copy link

wiltedwalls:

In the GUI, if you wipe your router with “Reset to defaults”, it does not correctly remove "hidden" directories such as .ssh/

The file and directory walking in jffs2reset.c, when done from the GUI, is not including the "hidden" subdirectories (and possibly hidden files).

When I do "umount /overlay && jffs2reset && reboot" from the command line, the .ssh/ directory is fully removed as expected.

Full discussion can be found at https://forum.openwrt.org/t/reset-to-defaults-does-not-remove-root-ssh-directory/34804

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant