How do I change owner in Linux?
How do I change owner in Linux?
How to Change the Owner of a File
Become superuser or assume an equivalent role.
Change the owner of a file by using the chown command. # chown new-owner filename. new-owner. Specifies the user name or UID of the new owner of the file or directory. filename.
Verify that the owner of the file has changed. # ls -l filename.