病征
厂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/