ubuntu下修改文件或者文件夹所有者和组

文件夹test

chown -R user:user test

文件test.txt

chown user:user test.txt 

原文地址:https://www.cnblogs.com/fuyanwen/p/4016335.html