]> git.sesse.net Git - plocate/commit
Add an undocumented flag --ignore-visibility.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sun, 31 Dec 2023 10:29:43 +0000 (11:29 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sun, 31 Dec 2023 10:29:43 +0000 (11:29 +0100)
commit5ec2c6351190ea686421da01ae83b5aeca4aa964
tree8cb04e20d77cc35821b0d12695ef9097122680b9
parent05665a91e700b34e80c217ae718db68dcca66f16
Add an undocumented flag --ignore-visibility.

This is mostly useful in the case where you are root, but the directories
in question no longer exist (or were never there to begin with) and you
still want to search in the database, or dump all of it using plocate ''.
Obviously, this needs to drop the sgid flag like --debug already does,
so we do that.

Using this together with -e/--existing doesn't make any sense,
but we don't have any explicit checks for it.
plocate.cpp