Opposite of chown
The chown command is used to change the user & the owner of a directory or file from root to the user so that the directory or file can be accessed or edited.
How do I revert the user & the owner back to root so that the directory or file no longer remains accessible or editable?
Use chown again to change it back.
Use su to obtain root permissions, and then type the following command:
chown new-owner name-of-file-or-directory
If you are interested in learning more about Linux commands, take a look at:
LinuxCommand.org: Learn the Linux command line. Write shell scripts.
Thanks, Ozar, for the solution & the recommendation.