在 Linux 中写入 NTFS 驱动器

Wat*_*oto 6 linux ntfs

我有一个外部 USB 驱动器,它被格式化为安装在 ~/tmp 上的 NTFS。我可以很好地读取它,但不能写入它,即使是 root(temp 是 USB 驱动器上的一个文件夹):

[root@Plugbox temp]# touch test
touch: cannot touch `test': Permission denied
[root@Plugbox temp]#
Run Code Online (Sandbox Code Playgroud)

但是,如果我执行 cat /proc/mounts,看起来我确实有 NTFS 读/写支持:

[root@Plugbox temp]# grep /dev/sdb1 /proc/mounts
/dev/sdb1 /root/tmp ntfs rw,relatime,uid=0,gid=100,umask=02,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
[root@Plugbox temp]#
Run Code Online (Sandbox Code Playgroud)

最后,如果我转到 temp 上方的文件夹,看起来我应该有足够的权限来写入该文件夹:

[root@Plugbox tmp]# ls -al
total 61500764
...
drwxrwxr-x 1 root users           0 Apr 19  2010 temp
...
[root@Plugbox tmp]#
Run Code Online (Sandbox Code Playgroud)

我错过了什么?

Jam*_*ell 5

试试NTFS-3g。它具有对 NTFS 的写入支持。您可能正在使用不支持 NTFS 写入的 NTFS 模块。