phatina / simple-mtpfs

Simple MTP fuse filesystem driver.
GNU General Public License v2.0
371 stars 45 forks source link

rmdir NonEmptyDirectory deletes the entire directory and its contents recursively!! #14

Closed insidewhy closed 11 years ago

insidewhy commented 11 years ago

I just did:

rmdir */

To delete all empty directories within a directory. However this deleted everything.

Damn.

phatina commented 11 years ago

Thank you for the report. This is certainly not desired behavior. Will be fixed soon.

phatina commented 11 years ago

Fixed in 9cd9467.

insidewhy commented 11 years ago

Great, thanks for that. It's too late for my data but hopefully it'll save the same thing from happening to someone else :)

phatina commented 11 years ago

Sorry for that :(