Bug 337480 - Kget deletes entire directory under an encfs mount if a failed download due to encfs not being mounted first is retried
Summary: Kget deletes entire directory under an encfs mount if a failed download due t...
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: Core (show other bugs)
Version: 2.13.1
Platform: Ubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 21:07 UTC by Nick
Modified: 2020-12-24 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2014-07-15 21:07:45 UTC
If you attempt to start a download to an encfs mounted directory which isn't mounted obviously it will fail since the download directory doesn't exist, but then if you mount the encfs directory and retry the download Kget deletes the entire download directory.

1. Configure an encfs directory and mount it
2. Create a directory inside the encfs directory
3. Configure Kget's default download location to the directory you just created inside the encfs directory
4. Create some files inside the newly created directory
5. Unmount the encfs directory
6. Start a download with Kget, it will fail obviously
7. Mount the encfs directory
8. Verify subdirectory and files still exist
9. In Kget right click on the download and select "Redownload selected" (it may or may not fail)
10. Check the encfs directory. The directory that was configured as the default download location has been deleted!

Using Kubuntu 14.04
Comment 1 Justin Zobel 2020-11-24 02:18:58 UTC
Can you please test this on a recent version of kget and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-12-09 04:34:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-12-24 04:34:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!