Esoteric error message when backup media is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Fix Released
|
Low
|
Unassigned |
Bug Description
When Deja Dup's backup location is set to external media (like an external HDD), trying to perform a backup when the backup location is disconnected or unavailable (like the HDD being unplugged) fails with a cryptic message:
"Error creating directory /run/media: Permission denied"
This message implies that like Deja Dup/Duplicity attempts to create the directory of its backup location if it doesn't exist, and fails to do so because of DAC. If that is what actually happens, then this error message technically makes sense. But, it still doesn't mention the real issue, which is that the backup location simply isn't present.
A better message could be:
"Error: backup location <path> not found or could not be created"
Better yet, perhaps there should also be an option for Deja Dup/Duplicity to fail immediately when its backup location does not exist, instead of trying to create it.
LSB Version: :core-4.
RPM versions: deja-dup-
Changed in deja-dup: | |
status: | New → Triaged |
importance: | Undecided → Low |
I agree that's a weak error message. I was testing with external drives and didn't reproduce this. But I'm testing on Ubuntu. I wonder if the way Fedora mounts drives is conflicting with what Deja Dup expects...