给某个用户赋予某个文件的权限 比如原来属于root用户的/etc/hosts文件,现在要给用户vincent赋予hosts文件的写权限,命令如下: sudo setfacl -m u:vincent:rw /etc/hosts