chown(动词,常用于命令行):在类 Unix 系统中,更改文件或目录的所有者(user)和/或所属组(group)。常见写法:chown user file 或 chown user:group file。也可递归用于目录(如 -R)。在口语中偶尔也指“把某物的所有权改给某人”,但最常见语境是计算机命令。
/ˈtʃaʊn/
Run chown to change the owner of the file.
运行 chown 来更改该文件的所有者。
After migrating the website, the admin used chown -R www-data:www-data /var/www to ensure the web server had the correct permissions on every directory and file.
迁移网站后,管理员使用 chown -R www-data:www-data /var/www,以确保 Web 服务器对每个目录和文件都拥有正确的权限设置。
chown 是 change owner(更改所有者)的缩写/合成形式,源自早期 Unix 命令命名习惯:用简短的词表示高频系统操作。
chown 相关的操作示例。 chown。