问题 在 Linux 中使用 rm 删除文件时报以下错误 rm: cannot remove 'XXX': Permission denied 原因 没有这个文件的所有权 解决办法 方法一: 使用 root 用户删除 方法二: 使用 sudo rm 命令删除