Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] automatically delete desktop.ini just before deleting a folder (thus preventing the failure) #62

Closed
Freeedim opened this issue Jun 28, 2019 · 3 comments

Comments

@Freeedim
Copy link

Hi, and thanks for this great app!

I use cppcryptfs with Google Drive and Google "Backup & Sync".

Whatever settings I set in their app (with or without emblems on shared folders icons, with or without warning when deleting a shared resource), Google would create a hidden desktop.ini file in any newly created sub-folder of the main Google Drive folder.

Thus when I try to delete a folder from the "clear" mounted side, cppcryptfs first deletes all the encrypted files from the encrypted folder to be subsequently deleted, and tries to delete the encrypted folder. Which always fails since the desktop.ini file was not deleted.

Is there a way to automatically delete desktop.ini (or force the folder deletion even though it is not empty)?

Thank you for your attention.

@bailey27
Copy link
Owner

bailey27 commented Jul 1, 2019

Hi. It shouldn't be that hard to do. I'll try to add this as a setting in the next release.

@bailey27
Copy link
Owner

bailey27 commented Jul 7, 2019

I can't make my Google Drive with Backup and Sync create the desktop.ini files.

I implemented the setting anyway, and tested it by making my own hidden desktop.ini files in the encrypted (real) directory structure.

Please try release 1.4.0.26 https://github.com/bailey27/cppcryptfs/releases.

If it doesn't work, then please either re-open this issue or create a new one.

@bailey27 bailey27 closed this as completed Jul 7, 2019
@Freeedim
Copy link
Author

Freeedim commented Jul 8, 2019

Hi!

Many thanks for your quick and effective response. It works perfectly!

Maybe I should have specified that all of my Google Drive folders are shared with other people (through Google Drive, not through Windows/SMB...); I think this is the reason why Google Backup & Sync creates those desktop.ini files which contain the path to the "Shared" emblem to be applied on the folder icon.

Best!

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

No branches or pull requests

2 participants