aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mageiaSync/mageiasync.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py
index 1110607..330ceef 100644
--- a/mageiaSync/mageiasync.py
+++ b/mageiaSync/mageiasync.py
@@ -539,6 +539,9 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
if (not dest.exists()) or (not dest.isDir()):
self.lvMessage(self.tr("/!\ Local directory {} doesn't exists or isn't accessible. Check mounts or settings.").format(self.destination))
return
+ if not dest.isWritable():
+ self.lvMessage(self.tr("/!\ Local directory {} isn't writable"))
+ return
self.IprogressBar.setEnabled(True)
self.stop.setEnabled(True)
self.syncGo.setEnabled(False)