ente-io / ente

Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
https://ente.io
GNU Affero General Public License v3.0
16.23k stars 837 forks source link

The app wipes the content of ~/documents/temp when started #3881

Open eric-void opened 3 weeks ago

eric-void commented 3 weeks ago

Description

When the app starts, it wipe all files and folders inside ~/documents/temp. If you use that path for other purposes, it's a HUGE problem. (I store a lot of files there, everything deleted by Ente!)

The app should not use a public path like that (if it needs a temporary folder it should use one in /tmp instead) or, at least, check if the path exists before its initialization, and use a different name (a pseudo-random name or similar).

Version

4.0.2-1

What product are you using?

Ente Auth

What platform are you using?

Desktop - Linux

eric-void commented 3 weeks ago

Partially related to #2156