Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Deleted parent should unlink #17

Open
tkonolige opened this issue Sep 10, 2014 · 2 comments
Open

Deleted parent should unlink #17

tkonolige opened this issue Sep 10, 2014 · 2 comments

Comments

@tkonolige
Copy link
Owner

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.

@tyilo
Copy link
Contributor

tyilo commented Sep 29, 2014

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

@tkonolige
Copy link
Owner Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants