Package: borgbackup
Version: 0.29.0-4
Severity: normal

Hi,

To begin with, thanks for your work on packaging borgbackup; it’s a 
really great piece of software.

So, I’m testing it since few days, and one of the test I had on my TODO 
list, was to mix archives created by an unpriviledged user and root 
inside a single backup repository… and it seems borg doesn’t like that 
experiment. :-)

Here is the correspondent traceback:

Local Exception.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 1261, in main
    exit_code = archiver.run(args)
  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 1215, in run
    return args.func(args)
  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 134, in do_create
    manifest, key = Manifest.load(repository)
  File "/usr/lib/python3/dist-packages/borg/helpers.py", line 92, in load
    cdata = repository.get(cls.MANIFEST_ID)
  File "/usr/lib/python3/dist-packages/borg/repository.py", line 415, in get
    self.index = self.open_index(self.get_transaction_id())
  File "/usr/lib/python3/dist-packages/borg/repository.py", line 120, in 
get_transaction_id
    segments_transaction_id = self.io.get_segments_transaction_id()
  File "/usr/lib/python3/dist-packages/borg/repository.py", line 512, in 
get_segments_transaction_id
    if self.is_committed_segment(filename):
  File "/usr/lib/python3/dist-packages/borg/repository.py", line 529, in 
is_committed_segment
    with open(filename, 'rb') as fd:
PermissionError: [Errno 13] Permission denied: '/mnt/backup/lamella/data/0/6148'

Platform: Linux lamella 4.3.0-1-amd64 #1 SMP Debian 4.3.3-5 (2016-01-04) x86_64 
Linux: debian stretch/sid   LibC: glibc 2.9
Python: CPython 3.5.1+

I did not investigate this issue closely, but I guess it happens when 
borg tries to deduplicate data but can’t access the chunk in question‽

Your opinion?

Cheers,
Vincent

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages borgbackup depends on:
ii  libacl1                2.2.52-2
ii  libc6                  2.21-6
ii  liblz4-1               0.0~r131-1
ii  libssl1.0.2            1.0.2e-1
ii  python3                3.5.1-1
ii  python3-msgpack        0.4.6-1+b1
ii  python3-pkg-resources  18.8-1

Versions of packages borgbackup recommends:
ii  python3-llfuse  0.41.1+dfsg-4+b1

Versions of packages borgbackup suggests:
pn  borgbackup-doc  <none>

-- no debconf information

Reply via email to