﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
729	Tahoe backup should WARN and go on when finding errors like: links to deleted files or access/read permission denied in local files/directories	stockrt	francois	"I am facing this problem when backing up my files:

{{{
stockrt@host ~/ $ tahoe backup -v stockrt tahoe:backups/stockrt

Traceback (most recent call last):
  File ""/usr/bin/tahoe"", line 8, in <module>
    load_entry_point('allmydata-tahoe==1.4.1', 'console_scripts', 'tahoe')()
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/runner.py"", line 91, in run
    rc = runner(sys.argv[1:])
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/runner.py"", line 78, in runner
    rc = cli.dispatch[command](so)
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/cli.py"", line 424, in backup
    rc = tahoe_backup.backup(options)
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/tahoe_backup.py"", line 374, in backup
    return bu.run()
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/tahoe_backup.py"", line 216, in run
    new_backup_dircap = self.process(options.from_dir, latest_backup_dircap)
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/tahoe_backup.py"", line 266, in process
    newchilddircap = self.process(childpath, oldchildcap)
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/tahoe_backup.py"", line 266, in process
    newchilddircap = self.process(childpath, oldchildcap)
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/tahoe_backup.py"", line 266, in process
    newchilddircap = self.process(childpath, oldchildcap)
  File ""/usr/lib/python2.5/site-packages/allmydata_tahoe-1.4.1-py2.5.egg/allmydata/scripts/tahoe_backup.py"", line 272, in process
    raise BackupProcessingError(""Cannot backup this file %r"" % childpath)
allmydata.scripts.tahoe_backup.BackupProcessingError: Cannot backup this file 'stockrt/Roger/etc/namedb'

stockrt@host ~/ $ ll stockrt/Roger/etc/namedb
lrwxrwxrwx 1 stockrt stockrt 21 2009-01-29 23:00 stockrt/Roger/etc/namedb -> /var/named/etc/namedb
}}}

This destination does not exists in my local filesystem: /var/named/etc/namedb but I have this (broken) link in my local ""to backup"" directory: stockrt/Roger/etc

I think Tahoe should warn it but do not break just because of it.

The same should occur for read/access permission denied for files and directories.

Regards,

Rogério Schneider
"	defect	closed	major	1.6.0	code-frontend-cli	1.4.1	fixed	reviewed tahoe-backup symlink permissions reliability news-done	stockrt@…	
