Quick Answer: How to Change Owner in Linux?
Contents

How do I change owner in Linux?

Use the chown command to change file owner and group information.

Use the chmod command to change file access permissions such as read, write, and access.

How do I change the owner of a group in Linux?

Notes on usage

  • user and group can be specified by name or by number.
  • Only root can change the owner of a file.
  • The owning group of a file can be changed by the file’s owner, if the owner belongs to that group.
  • The owning group can also be changed by using the chgrp command.
Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest