libpathrs
libpathrs copied to clipboard
Root::remove_all: support wiping chmod 000 directories
A classic issue you run into with unprivileged programs is that they cannot recursively remove chmod 000 directories (even if they own them). The solution is fairly trivial (just chmod the directory first before trying to step into it).