Backup fails with error: "Error setting permissions: Function not implemented"

Bug #1247276 reported by Will Palmer
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

I think the tool is: deja-dup 27.3.1

Attempting to backup to a "My Passport" drive completes the "scanning" phase as usual, begins copying files for a few moments, then fails with the following error message:

    Error setting permissions: Function not implemented

I do not see any further details along with this error message.

I have been successfully backing up for two weeks with this tool, but this week it gave the error message and went no further.
I have recently upgraded to Ubuntu 3.10

Revision history for this message
Julian Rush (julianrush) wrote :

I have exactly the same issue after a clean install of Ubuntu 13.10 x86_64, though I kept my home partition. I'm backing up to an external hard drive formatted with exfat which worked perfectly when Ubuntu 12.04 was installed.

Revision history for this message
Julian Rush (julianrush) wrote :

A bit more digging suggests this may be similar, or the same as, bug #1202363.

It seems to be something to do with write permissions on the mounted disk. The folder on the external hard drive (usb connection) has the following permissions:

drwxr-xr-x 1 root root 262144 Nov 13 11:01 Backup

Here's the output after running DEJA_DUP_DEBUG=1 deja-dup --backup from a terminal. Hope someone finds it useful.

DUPLICITY: INFO 1
DUPLICITY: . Writing /media/julian/JULIAN_1/Backup/duplicity-inc.20131024T134023Z.to.20131113T110009Z.vol1.difftar.gpg

DUPLICITY: WARNING 1
DUPLICITY: . Attempt 1 failed: GError: Error setting permissions: Function not implemented

DUPLICITY: DEBUG 1
DUPLICITY: . Backtrace of previous error: Traceback (innermost last):
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 316, in iterate
DUPLICITY: . return fn(*args, **kwargs)
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 137, in copy_file
DUPLICITY: . target.get_parse_name())
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/backends/giobackend.py", line 112, in handle_error
DUPLICITY: . raise e
DUPLICITY: . GError: Error setting permissions: Function not implemented
DUPLICITY: .

[Repeated 3 more times...]

DUPLICITY: INFO 1
DUPLICITY: . Writing /media/julian/JULIAN_1/Backup/duplicity-inc.20131024T134023Z.to.20131113T110009Z.vol1.difftar.gpg

DUPLICITY: ERROR 50 put '/home/julian/.cache/deja-dup/tmp/duplicity-zDZOK1-tempdir/mktemp-5Ygh_z-3' '/media/julian/JULIAN_1/Backup/duplicity-inc.20131024T134023Z.to.20131113T110009Z.vol1.difftar.gpg'
DUPLICITY: . Error setting permissions: Function not implemented

DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /home/julian/.cache/deja-dup/tmp/duplicity-zDZOK1-tempdir/mkstemp-An1Bcy-1

DUPLICITY: DEBUG 1
DUPLICITY: . Removing still remembered temporary file /home/julian/.cache/deja-dup/tmp/duplicity-zDZOK1-tempdir/mktemp-5Ygh_z-3

Revision history for this message
Will Palmer (wmpalmer) wrote :

due to the GPG-related message reported by Julian Rush, I have attempted to re-run the backups without encryption, and can confirm that the error persists event when encryption is not being used.

Revision history for this message
Tomáš Valenta (vali-9) wrote :

I think I found a workaround, please see bug #1202363 mentioned above.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.