Error: g-io-error-quark: Permission denied (14

What is this error, it started after an update of Ubuntu + mono?

System:
Duplicati - 2.0.4.5_beta_2018-11-28
Ubuntu 18.04.1 LTS
Mono JIT compiler version 5.18.0.240 (tarball Wed Jan 16 09:10:16 UTC 2019)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(600)
Suspend: preemptive
GC: sgen (concurrent by default)

Error:

Traceback (innermost last):

File “/usr/bin/duplicity”, line 1555, in
with_tempdir(main)
File “/usr/bin/duplicity”, line 1541, in with_tempdir
fn()
File “/usr/bin/duplicity”, line 1380, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File “/usr/lib/python2.7/dist-packages/duplicity/commandline.py”, line 1127, in ProcessCommandLine
globals.backend = backend.get_backend(args[0])
File “/usr/lib/python2.7/dist-packages/duplicity/backend.py”, line 223, in get_backend
obj = get_backend_object(url_string)
File “/usr/lib/python2.7/dist-packages/duplicity/backend.py”, line 209, in get_backend_object
return factory(pu)
File “/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py”, line 97, in init
self.remote_file.make_directory_with_parents(None)
Error: g-io-error-quark: Permission denied (14)

Hello @rv6834 and welcome to the Duplicati forum! Unfortunately duplicity is a different program, so I’m not sure how much I can help. How and when does the message occur? Is Duplicati involved somehow?

About all I can say from looking at a /usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py is:

      5 # This file is part of duplicity.
...
     91         loop.run()  # halt program until we're done mounting
     92 
     93         # Now make the directory if it doesn't exist
     94         try:
     95             self.remote_file.make_directory_with_parents(None)
     96         except GLib.GError as e:
     97             if e.code != Gio.IOErrorEnum.EXISTS:
     98                 raise

Aaah, good catch. :wink:

I probably have this old duplicity install running that now fails. Will see how to remove it.

Running multiple backups is actually a good idea for best safety, if you’d like to try fixing the duplicity one.

I never did get to the bottom of it (chased some out of curiosity), but searches did find some general info.

GIO (software)

GIOError #define G_IO_ERROR g_io_error_quark()