Change file owner in Linux Terminal

Changes the owner and group. Add -R before the paths to recurse into folders.

Shell: Linux Terminal · Category: permissions · Risk level: caution

What you provide

The exact syntax, a worked example, a safer alternative and the flag reference are behind sign-in.

This is a limited preview. The full walkthrough, command syntax and copy-ready examples are available to signed-in users.

Sign in to read the full page