What is the effect of "chown nobody:nogroup"?
30,169
chown
is used to change the ownership of files and folders.
Your command just changes the owner user and group to nobody and nogroup. Both of these entities are normal objects within the system.
You can verify this by running cat /etc/group | grep nogroup
and cat /etc/passwd | grep nobody
respectively.
It probably doesn't make a lot of sense without also using chmod
to change the actual permissions.
Related videos on Youtube
Author by
user727522
Updated on September 18, 2022Comments
-
user727522 almost 2 years
What is the effect of
chown nobody:nogroup
on a single file or directory and what is the effect on files within a directory?