Filesystem
chown
Changes owner and group of files.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$chown [USER][:GROUP] FILE
Examples
$chown www-data:www-data /var/www -R
$chown john file.txt
Typical use cases
?
Standard usage
chown --help
Note
Recursive with -R.
Export