Comment 1 for bug 186569

Revision history for this message
Kow (kow) wrote :

I am guessing we have the same issue but just to clarify... The problem I have only involves deleting a folder with sub-folders or files. I can delete a file or an empty directory just fine but not otherwise. I should also say this only happens with the permanent Delete command (must be turned on in the Nautilus settings to see the option in right click dropdown menu) but NOT with "Move to Trash". I think that works fine as there are no errors and they disappear from the file viewer but since its NTFS I'm not sure how trash works if at all different.My thoughts are that GVFS is passing the command "upstream" to delete the folder, and then the file. Somehow the files need to be deleted first. Perhaps getting upstream to fix this would be the better solution however I'm not quite sure how far to go... glib calls on posix for file/folder operations. rm -R works fine.

Reproduce:

1. Using nautilus make a temp folder on a NTFS mountpoint/partition and create an empty file and name it test (the folder and file can be named arbitrarily.)

  a. Make sure delete command is enabled in Nautilus Preferences -> Behavior.

2. Right Click on the temp folder and "Delete"

3. Under "Show more details" of the error window "Error removing file: File Exists". Alright I tried Skip, Skip All, and Cancel and no difference - test folder and subfile still exist.

4. I can remove the file first and then the folder just fine from Nautilus.

5. "rm -R test" works just fine.