当前位置: 首页>>技术教程>>正文


HPFS/NTFS/exFAT文件系统上的权限被拒绝:不支持该操作

, ,

病征

HPFS/NTFS/exFAT预先格式化的Seagate USB驱动器可读取和写入,但是任何更改数据或写入新数据的尝试均被拒绝。用一个mount使用以下安装选项安装磁盘:


/dev/sde1 on /mnt/USB type ntfs (rw,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)

即使安装rw任何写尝试都被拒绝:


# touch file
touch: cannot touch ‘file’: Permission denied
# chmod -R 777 USB/
chmod: changing permissions of ‘USB/Autorun.inf’: Operation not supported
chmod: changing permissions of ‘USB/Seagate/Registration/SerialNumber.xml’: Operation not supported
chmod: changing permissions of ‘USB/SeagateExpansion.ico’: Operation not supported
chmod: changing permissions of ‘USB/Start_Here_Win.exe’: Operation not supported
chmod: changing permissions of ‘USB/Warranty.pdf’: Operation not supported

这种现象的原因是缺少NTFS司机。因此,解决方案是通过安装ntfs-3g包。


FEDORA/CENTOS/REDHAT
$ sudo yum install ntfs-3g
OR
$ sudo dnf install ntfs-3g
DEBIAN/UBUNTU
# apt install ntfs-3g

接下来,re-mount您的驱动器:


# umount USB/
# mount /dev/sdX /mnt/USB/

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/11220.html,未经允许,请勿转载。