nouser and nogroup keywords not working
#1
Sun, 2017-10-15 01:28
praving5
-
- Offline
- 5 months 2 weeks ago
- 2017-10-15
Hi,
I want to find unowned and ungrouped files. On other Linux distributions, I use
find / -user nouser find / -group nogroup
But, the above does not work in Alpine Linux? What are the alternate commands?
I also tried
find / -nouser find / -nogroup
This does not work as well.
Please help.
Have you installed the findutils package?
I think the stock Alpine system uses a symlink to busybox for `find` (and most other utilities) and the options for that are more limited than the GNU variants.
See also https://wiki.alpinelinux.org/wiki/How_to_get_regular_stuff_working