Commit Graph

2690 Commits

Author SHA1 Message Date
Thomas Waldmann 4d7b0f357a fuse: getxattr fail must use errno.ENOATTR, fixes #1126
The problem was that OS X Finder queried some OS X specific xattrs
and if they were not present, the wrong errno (ENODATA) was included
in the raised FUSEError exception. According to the llfuse docs, the
errno must be ENOATTR for this case.

Obviously, Finder didn't handle this well and denied access to the
file. Also, file size was displayed as "zero bytes" although we
return the correct value.
2016-07-07 03:38:21 +02:00
TW 6987b8b3cd Merge pull request #1276 from ThomasWaldmann/update-osxfuse
update OSXfuse to version 3.3.3
2016-07-07 03:34:03 +02:00
Thomas Waldmann 135d082e73 update OSXfuse to version 3.3.3 2016-07-07 03:31:26 +02:00
TW d0c16623d5 Merge pull request #1275 from ThomasWaldmann/healthy-chunks-list
fixup: only create chunks_healthy if we actually replaced chunks
2016-07-06 23:34:50 +02:00
Thomas Waldmann b0b2ebb6ed fixup: only create chunks_healthy if we actually replaced chunks 2016-07-06 23:10:04 +02:00
TW acda5bc845 Merge pull request #1274 from ThomasWaldmann/healthy-chunks-list
repair: remember the good chunks
2016-07-06 22:59:56 +02:00
Thomas Waldmann 5105a0a5a6 repair: remember the good chunks
if we do not lose the original chunk ids list when "repairing" a file (replacing missing
chunks with all-zero chunks), we have a chance to heal the file back into its original
state later, in case the chunks re-appear (e.g. in a fresh backup).
2016-07-06 22:42:18 +02:00
TW a1f8a23ca7 Merge pull request #1074 from ThomasWaldmann/travis-trusty
Travis using ubuntu trusty
2016-07-06 20:50:57 +02:00
Thomas Waldmann 735d058a8d travis: use ubuntu trusty beta infrastructure (not: precise)
use python 3.5.2 on trusty travis-ci machines
their 3.5(.0) misses lzma support at the moment.
after this is fixed, we likely want to go back to 3.5(.0) to run the tests.
2016-07-06 19:18:09 +02:00
Thomas Waldmann 12f55f4e9f Merge branch '1.0-maint' 2016-07-06 01:33:53 +02:00
Thomas Waldmann 8db670cf7f update CHANGES 2016-07-06 00:37:01 +02:00
TW 9fa8aa495c Merge pull request #1263 from enkore/issue/1262
Repository: cleanup on ENOSPC
2016-07-06 00:23:55 +02:00
TW e825f170f2 Merge pull request #1271 from ThomasWaldmann/autogenerated-hint
auto-generated hint, fixes #1250
2016-07-06 00:22:32 +02:00
TW 3346025e02 Merge pull request #1270 from ThomasWaldmann/scripts
Scripts
2016-07-05 23:31:36 +02:00
Thomas Waldmann 740c638030 update usage files 2016-07-05 23:30:08 +02:00
Thomas Waldmann 2f2925ed89 add a do-not-edit note to auto-generated files 2016-07-05 23:29:23 +02:00
Thomas Waldmann e0f549a01d move the hash sizes script also to scripts/ 2016-07-05 23:14:46 +02:00
Thomas Waldmann e023053472 add a glibc compat check script 2016-07-05 23:14:45 +02:00
Marian Beermann 7ed425dae0
Repository: cleanup on ENOSPC 2016-07-05 20:33:07 +02:00
Jens Rantil 2922948100 Update faq.rst
Fix misspelling.
2016-07-05 18:23:42 +02:00
TW 7987434a3f Merge pull request #1266 from ThomasWaldmann/fix-chown-cygwin
catch "invalid argument" on cygwin, fixes #257
2016-07-05 17:33:56 +02:00
TW 8a040f748b Merge pull request #1265 from ThomasWaldmann/fix-sparse-test-prep
sparse test: fix sparseness assertion in test prep, fixes #1264
2016-07-05 17:33:21 +02:00
Thomas Waldmann 72a7c0bae5 catch "invalid argument" on cygwin, fixes #257
obviously cygwin (windows) does not like the made-up uid 100 gid 200
and raises "invalid argument" OSError.
2016-07-05 17:20:23 +02:00
Thomas Waldmann 498d4b141e sparse test: fix sparseness assertion in test prep, fixes #1264
use the same condition for the input file as also later for the extracted file.

the test preparation sparseness assertion failed on cygwin / ntfs, because the
input file uses ~40MB in blocks vs. total_len ~80MB.
2016-07-05 16:49:50 +02:00
TW 6977fcf9e2 Merge pull request #1202 from ThomasWaldmann/update-1.0-changes
update CHANGES
2016-07-05 01:04:48 +02:00
Thomas Waldmann 19d1bbfa14 add advice about issue #1138, fixes #1223 2016-07-05 00:58:42 +02:00
Thomas Waldmann 54e5667477 update CHANGES 2016-07-05 00:58:42 +02:00
enkore 2fd6e5cf12 Merge pull request #1260 from ThomasWaldmann/update-frontpage
update frontpage / support docs
2016-07-04 23:38:02 +02:00
TW 65c1f40e2a Merge pull request #1261 from dragetd/patch-doc-compression
Update docs about lzma compression levels above 6
2016-07-04 23:36:17 +02:00
enkore ee2ba29b73 Merge pull request #1259 from ThomasWaldmann/env-var-remote-path
add missing BORG_REMOTE_PATH env var, fixes #1258
2016-07-04 23:33:43 +02:00
TW 3811447a0e Merge pull request #1239 from ThomasWaldmann/forced-archive-delete
Forced archive delete
2016-07-04 23:32:10 +02:00
Thomas Waldmann 07d0a61e46 forced archive deletion, fixes #1139 2016-07-04 23:13:11 +02:00
Thomas Waldmann 20eab2b5c8 update frontpage / support docs
less items in frontpage link list
add IRC chat link
minor other changes
2016-07-04 22:37:24 +02:00
Michael Gajda 0b488760a7 Update docs about lzma compreesion levels above 6
lzma compression levels above 6 do not increase compression ration but waste a lot of cpu cycles.
2016-07-04 21:58:52 +02:00
Thomas Waldmann f363ddd7ca Merge branch '1.0-maint' 2016-07-04 20:11:21 +02:00
Thomas Waldmann 3325126988 add missing BORG_REMOTE_PATH env var, fixes #1258 2016-07-04 15:06:20 +02:00
TW 458edf351b Merge pull request #1242 from ThomasWaldmann/fix-1214
fixes for --read-special mode
2016-07-04 14:29:34 +02:00
Thomas Waldmann d59a1d5fef doc and help update for --read-special 2016-07-04 14:06:30 +02:00
Thomas Waldmann 00a5470125 symlink processing for --read-special mode
processing depends on symlink target:
- if target is a special file: process the symlink as a regular file
- if target is anything else: process the symlink as symlink

refactor code a little to avoid duplication.
2016-07-04 14:02:05 +02:00
Thomas Waldmann 5476ece81e fake regular file mode for --read-special mode, fixes #1214 2016-07-04 14:02:05 +02:00
Thomas Waldmann a3ef692132 reimplement --read-special, fixes #1241 2016-07-04 13:54:31 +02:00
Thomas Waldmann 58515d0f95 remove old implementation of --read-special
this was a bit too simple, better implementation see next changesets.
2016-07-04 13:54:31 +02:00
Thomas Waldmann 7c8783e7c2 Revert "in --read-special mode, follow symlinks, fixes #1215"
This reverts commit c3073bacbb.

Needs to be solved differently, see following changesets.
2016-07-04 13:54:31 +02:00
enkore c9597406ba Merge pull request #1255 from enkore/issue/1235
Repository: Read v2 hints files
2016-07-04 09:02:35 +02:00
TW eea46928ff Merge pull request #1234 from enkore/issue/1231
Implement fail-safe error handling for borg-extract
2016-07-04 04:40:27 +02:00
Thomas Waldmann 7231107b5a update cygwin installation docs
cython is installed with pip later.
liblz4 is available from normal cygwin packages now.
creation of virtualenv worked now without issues.
2016-07-04 03:47:54 +02:00
Marian Beermann f3aaffdb39 Repository: fix hints file unknown version error handling bug 2016-07-04 00:55:12 +02:00
Marian Beermann e7740458cd
Repository: Read v2 hints files
Fixes #1235
2016-07-04 00:44:29 +02:00
Marian Beermann 93f4b09d41
BackupOSError documentation 2016-07-03 23:58:14 +02:00
Marian Beermann 7db952ab7f fixup rename 2016-07-03 23:57:55 +02:00