Cannot delete folders/files recursively in NTFS filesystem (Error removing file: File exists)

Bug #194025 reported by Matti Lindell
2
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gvfs

gvfs: 0.1.7-0ubuntu5
nautilus: 1:2.21.91-0ubuntu3

Not sure if this is a gvfs (or ntfs-3g?) bug, but appeared after the transition from gnome-vfs.
nautilus cannot delete a folder in NTFS filesystem if the folder contains other files/folders. This problem doesn't appear with ext3 at least.

Test case:
1. create a ntfs loopback file and mount it
$ sudo aptitude install ntfsprogs
$ dd if=/dev/zero of=/tmp/blah bs=1M count=2
$ sudo losetup /dev/loop0 /tmp/blah
$ sudo mkfs.ntfs /dev/loop0
$ sudo losetup -d /dev/loop0
$ mkdir /tmp/foo
$ sudo mount -t ntfs-3g /tmp/blah /tmp/foo

2. create a directory structure
$ mkdir -p /tmp/foo/bar/baz

3. try to remove /tmp/foo/bar using nautilus. A "Error while deleting." message should appear.

Matti Lindell (mlind)
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in gvfs:
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.