Esoteric error message when backup media is missing

Bug #1731704 reported by Xavier Johnson on 2017-11-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup

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.1-amd64:core-4.1-noarch
RPM versions: deja-dup-36.3-1.fc26.x86_64

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers