我正在使用 Ubuntu 14.04
我是用户 jason。我尝试了下面的命令,sudo
但没有用。
以下是给出的命令。
jason@TRZG001:~/plex/trans$ rm -rf Movies/*
rm: cannot remove ‘Movies/Sex After Kids (2013) [1080p]’: Directory not empty
jason@TRZG001:~/plex/trans$ cd Movies/Sex*
jason@TRZG001:~/plex/trans/Movies/Sex After Kids (2013) [1080p]$ ls
jason@TRZG001:~/plex/trans/Movies/Sex After Kids (2013) [1080p]$ ls -al
total 8
drwxr-xr-x 2 jason jason 4096 Sep 26 05:40 .
drwxrwxr-x 3 jason jason 4096 Sep 26 05:35 ..
jason@TRZG001:~/plex/trans/Movies/Sex After Kids (2013) [1080p]$ cd ../
jason@TRZG001:~/plex/trans/Movies$ rmdir S*
rmdir: failed to remove ‘Sex After Kids (2013) [1080p]’: Directory not empty
jason@TRZG001:~/plex/trans$ rm -rf Movies/*
rm: cannot remove ‘Movies/Sex After Kids (2013) [1080p]’: Directory not empty
jason@TRZG001:~/plex/trans$ cd Movies/Sex*
jason@TRZG001:~/plex/trans/Movies/Sex After Kids (2013) [1080p]$ ls
jason@TRZG001:~/plex/trans/Movies/Sex After Kids (2013) [1080p]$ ls -al
total 8
drwxr-xr-x 2 jason jason 4096 Sep 26 05:40 .
drwxrwxr-x 3 jason jason 4096 Sep 26 05:35 ..
jason@TRZG001:~/plex/trans/Movies/Sex After Kids (2013) [1080p]$ cd ../
jason@TRZG001:~/plex/trans/Movies$ rmdir S*
rmdir: failed to remove ‘Sex After Kids (2013) [1080p]’: Directory not empty
答案1
发现问题。该文件夹是 encfs 中使用的未加密文件夹。未加密的文件被写入位于文件夹 .trans 中的加密版本。