[PATCH] Fix delete for non-empty directories
Reported by Martin S. | July 29th, 2009 @ 09:51 AM | in 1.0 Release
Until now, iFuse has showed an error if one tried to remove
non-empty directories in cases where it should work.
The AFC_OP_REMOVE_PATH on the device appears to not have a special
error code for this case but simply returns
AFC_E_UNKNOWN_ERROR.
The patches (for libiphone + iFuse) handle this special case and
introduce the AFC_E_DIR_NOT_EMPTY error code. This makes recursive
delete in Nautlis and the gvfs-backend-afc work, too.
Comments and changes to this ticket
-
Matt Colyer July 30th, 2009 @ 02:13 AM
- State changed from new to resolved
(from [74afdafd5c13e7ba5c0b8a429efa39ec02e239ba]) Add new error code mapping to handle deletion of non empty directories
[#65 state:resolved]
Signed-off-by: Matt Colyer matt@colyer.name
http://github.com/MattColyer/ifuse/commit/74afdafd5c13e7ba5c0b8a429...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org