chown changing ownership of xxx Operation not permitted
问题描述
- 执行下述命令,错误信息如下
sudo chown -R $USER:$USER /mnt/wwn-0x500a0751e5d2eda2-part2/
// error message
chown: changing ownership of '/mnt/wwn-0x500a0751e5d2eda2-part2/': Operation not permitted原因分析
- 移动磁盘使用 FAT 文件系统,该文件系统不支持 Linux 的权限机制(chmod, chown)
解决方案
修改文件系统为 ExFAT
- 安装工具
- 确定设备名称
- 卸载硬盘
- 格式化硬盘
注意事项
- 可以修改整个硬盘的文件系统或硬盘的某个分区的文件系统

