chown

简介

改变文件所有者和所属组

选项

  • -R 递归式处理
  • chgrp 选项

示例

修改文件所有者:

chown xdays:xdays /path/to/file