dbignore icon indicating copy to clipboard operation
dbignore copied to clipboard

Deleted parent should unlink

Open tkonolige opened this issue 10 years ago • 2 comments

Great tool! You will encounter sync errors in Dropbox when the user attempts to delete a parent directory of an ignored file from another computer or the web site. I would hook unlink() on directories and delete all ignored child files before redirecting to the system's unlink(), this avoids "directory not empty" errors.

tkonolige avatar Sep 10 '14 19:09 tkonolige

Note that this should not go inside symlinked directories and delete the files inside them.

tyilo avatar Sep 29 '14 13:09 tyilo

I'm not sure that the behavior described is correct either. I (or someone else) needs to think out what the correct behavior would be.

tkonolige avatar Sep 29 '14 19:09 tkonolige