Here is a #Linux/#Unix command to search the entire system for files with no group or user:
```
sudo find / -nogroup -o -nouser -print 2>/dev/null
```
See https://www.cyberciti.biz/faq/find-files-that-do-not-have-any-owners-or-do-not-belong-to-any-user-under-linuxunix/ for more info.
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Friday, 29-Sep-2023 07:03:47 JST nixCraft 🐧 -
Nicola (cryogenicice9@mastodon.online)'s status on Friday, 29-Sep-2023 16:27:21 JST Nicola @nixCraft Have you ever seen any? I can't think of a situation where it could happen, an inode has to have a uid and gid assigned, so it's going to be *something* surely?
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Friday, 29-Sep-2023 16:27:21 JST nixCraft 🐧 @CryogenicIce9 it is useful when unauthorised files created by rooted servers. You can locate such files. Not finding anything is a good thing 😂
-