我有 Xubuntu 16.10 并且与 Windows 10 双启动。我有一个辅助 SSD 驱动器,想为其选择一个与操作系统无关的文件系统,以便我可以同时在 Windows 和 Linux 上使用它,在做了一些研究之后,我决定尝试 UDF。
我已将以下条目添加到 /etc/fstab:
/dev/sda2 /mnt/e_drive udf defaults,uid=1000,rw 0 0
它似乎被正确安装:
adam@BC-LINPC-02:/$ mount |grep e_drive
/dev/sda2 on /mnt/e_drive type udf (rw,relatime,uid=1000,utf8)
我可以添加新文件,而且似乎也可以删除这些新文件:
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ echo "hello world" > some_new_file.txt
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ ls -lah some_new_file.txt
-rw-rw-r-- 1 adam adam 12 Jan 6 03:14 some_new_file.txt
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ rm -fr some_new_file.txt
但是,我似乎无法删除任何现有的文件或目录:
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ sudo rm -fr dist.7z
rm: cannot remove 'dist.7z': Operation not permitted
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ ls -lah dist.7z
-rwxrwxrwx 1 adam nogroup 788K Dec 29 05:07 dist.7z
我能做些什么来让它发挥作用吗?我做错了什么吗?
谢谢
更新:
为了回应乔治的评论,我应该提到 chown 也不起作用:
adam@BC-LINPC-02:/mnt/e_drive/src/project_test$ sudo chown -Rv adam:adam .tmp
[sudo] password for adam:
chown: changing ownership of '.tmp/templateCache.js': Operation not permitted
failed to change ownership of '.tmp/templateCache.js' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat/scripts/scripts.js': Operation not permitted
failed to change ownership of '.tmp/concat/scripts/scripts.js' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat/scripts/vendor.js': Operation not permitted
failed to change ownership of '.tmp/concat/scripts/vendor.js' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat/scripts': Operation not permitted
failed to change ownership of '.tmp/concat/scripts' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/concat': Operation not permitted
failed to change ownership of '.tmp/concat' from adam:nogroup to adam:adam
chown: changing ownership of '.tmp/scripts/app.d.ts': Operation not permitted
failed to change ownership of '.tmp/scripts/app.d.ts' from adam:nogroup to adam:adam
... (every file in that recursive tree) ...