改变文件的拥有者和改变文件的拥有组 chown vincent file.txt chown :root file.txt 更改文件拥有者用户组 chown vincent:root chgrp root file.txt 将file.txt文件修改用户组为root。