Does running qfile -o with sudo cause any troubles ?
by LegionOfHell from LinuxQuestions.org on (#59078)
I ran the following command with sudo:
Code:sudo find /proc/ -exec qfile -o '{}' +
I also ran this command as root too:
Code:find /etc/ -exec qfile -o '{}' +Do they mess anything up ?
qfile is a tool that lets you find orphaned files:
Code:$ qfile --help
usage: qfile [opts] <filename> : list all pkgs owning files
options: -[F:doRx:SPvqChV]
-F, --format <arg> * Print matched atom using given format string
-S, --slots * Display installed packages with slots
-R, --root-prefix * Assume arguments are already prefixed by $ROOT
-d, --dir * Also match directories for single component arguments
-o, --orphans * List orphan files
-x, --exclude <arg> * Don't look in package <arg> (used with --orphans)
-P, --skip-plibreg * Don't look in the prunelib registry
--root <arg> * Set the ROOT env var
-v, --verbose * Report full package versions, emit more elaborate output
-q, --quiet * Tighter output; suppress warnings
-C, --nocolor * Don't output color
-h, --help * Print this help and exit
-V, --version * Print version and exit


Code:sudo find /proc/ -exec qfile -o '{}' +
I also ran this command as root too:
Code:find /etc/ -exec qfile -o '{}' +Do they mess anything up ?
qfile is a tool that lets you find orphaned files:
Code:$ qfile --help
usage: qfile [opts] <filename> : list all pkgs owning files
options: -[F:doRx:SPvqChV]
-F, --format <arg> * Print matched atom using given format string
-S, --slots * Display installed packages with slots
-R, --root-prefix * Assume arguments are already prefixed by $ROOT
-d, --dir * Also match directories for single component arguments
-o, --orphans * List orphan files
-x, --exclude <arg> * Don't look in package <arg> (used with --orphans)
-P, --skip-plibreg * Don't look in the prunelib registry
--root <arg> * Set the ROOT env var
-v, --verbose * Report full package versions, emit more elaborate output
-q, --quiet * Tighter output; suppress warnings
-C, --nocolor * Don't output color
-h, --help * Print this help and exit
-V, --version * Print version and exit