Can't Delete Folder
philip@
philip@
total 0
drwxr-xr-x 2 philip philip 144 2007-11-04 18:58 folder0
drwxr-xr-x 3 philip philip 80 2007-11-04 18:58 folder1
drwxr-xr-x 2 philip philip 176 2007-11-04 18:58 folder2
drwxr-xr-x 3 philip philip 80 2007-11-04 18:58 folder3
drwxr-xr-x 4 philip philip 112 2007-11-04 18:58 folder4
philip@
rm: cannot remove directory `folder0/': Directory not empty
philip@
philip@
total 0
philip@
philip@
rm: cannot remove `folder0/*': No such file or directory
philip@
rm: cannot remove directory `folder0/': Permission denied
philip@
rmdir: folder0/: Permission denied
philip@
chmod: cannot access `folder0/': Permission denied
philip@
Any idea?
How the folders got broken?
I had 4 folders:
server1.site.com
server2.site.com
server3.site.com
server4.site.com
I created folder "server.site.com", and then issued:
"mv server1.site.com/* server.site.com/"
"mv server2.site.com/* server.site.com/"
the 1st one worked, the second one complained about a recursive folder (you can't move because folder will be parent of itself) or something like that. Completed server3 and server4 by hand (via nautilus). Now folder[01234] where childs of server2.site.com, their content wasn't moved to server.site.com, but they seem to be empty...
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Philip Paquette
- Solved:
- 2007-11-07
- Last query:
- 2007-11-07
- Last reply:
| Philip Paquette (pcpaquette) said : | #1 |
Workaround:
> ls -il
to find the inode number of the folder
then navigate to the encrypted directory on the underlying fs (reiserfs in my case) and delete the encrypted directory...
The bug is caused because encfs doesn't see any files with "f0", but the files are actually there in the encrypted folder on the underlying fs...

