summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/rpath.py
Commit message (Collapse)AuthorAgeFilesLines
* Support extended attributes on symbolic linksowsla2008-09-271-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@939 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* On Mac OS X, read the com.apple.FinderInfo extended attribute since it is theowsla2008-09-261-0/+4
| | | | | | | only storage location for the 'busy' (Z) Finder attribute. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@938 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fall back on the Python make_file_dict function when the filename containsowsla2008-07-221-3/+8
| | | | | | | non-ASCII characters. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@918 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Move make_file_dict_python so that it is run on the remote end instead ofowsla2008-07-131-56/+59
| | | | | | | the local end. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@912 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly handle uid/gid comparison when the metadata about a destinationowsla2008-07-051-1/+4
| | | | | | | file has become corrupt. Closes Debian bug #410586. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@909 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Use the Python os.lstat() on Windows. (Patch from Josh Nisly)owsla2008-07-021-3/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@905 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support for Windows ACLs. (Patch from Josh Nisly and Fred Gansevles)owsla2008-07-021-3/+35
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@904 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Optimize --check-destination and other functions by determining the incrementowsla2008-06-261-17/+29
| | | | | | | files server-side instead of client-side. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@902 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't set modification times for directories on Windows. Also, assumeowsla2008-06-101-1/+9
| | | | | | | | that user has access to all files on Windows since there is no support for getuid(). (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@888 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Do not use inode numbers on Windows and gracefully handle attempts toowsla2008-06-101-2/+12
| | | | | | | rename over existing files on Windows. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@886 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Recover from EBADF during fsync(). Closes Savannah bug #15839owsla2008-01-061-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@868 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Print a more helpful error message when we get a "Result too large" errorowsla2007-12-251-1/+11
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@860 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* The retry without sticky bit message should indicate that it is a warning.owsla2007-12-251-3/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@857 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* - Replace is_readable() function with pre-existing readable() functionowsla2007-12-241-4/+0
| | | | | | | | - Close Savannah bug #21202 by not assuming that file cannot be opened even if read permissions don't indicate such. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@855 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* restore_set_root should check if it can read a directory before tryingowsla2007-12-231-0/+4
| | | | | | | to list the contents. Closes Savannah bug #21106 git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@854 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* More robust workaround for EFTYPE only being present on BSDowsla2007-08-131-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@847 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Python bug -- errno.EFTYPE is not defined, but necessary to check on BSDowsla2007-08-131-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@845 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typoowsla2007-08-131-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@844 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle failed attempts to set the sticky bitowsla2007-08-081-1/+13
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@838 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Avoid setting permissions to 000 because they're out of sync.owsla2007-07-121-0/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@822 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Make sure isincfile() always sets inc_compressedowsla2007-07-111-4/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@819 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Squash regress/check_pids bug and properly pickle RPath'sowsla2007-07-091-6/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@815 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Warn if file modification time is before 1970.owsla2007-06-201-0/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@809 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Cygwin generates EACCESS on fsync -- so accept it rather than dieing.dgaudet2007-01-291-4/+8
| | | | | | | (Marc Dyksterhouse). git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@783 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add global to avoid unnecessary system calls on systems where umask does not ↵owsla2006-12-291-2/+2
| | | | | | affect symlinks git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@775 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* on symlink perm setting -- save the orig_umask so we don't have todgaudet2006-11-051-2/+2
| | | | | | | hardcode any specific umask. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@763 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Mac OS X Extended Attributes support. (Patch from Andrew Ferguson.)dgaudet2006-11-051-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@760 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Preserve Mac OS X 'Creation Date' field across backups. (Patch from Andrewdgaudet2006-11-051-2/+17
| | | | | | | Ferguson.) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@759 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Set symlink permissions properly. (Patch from Andrew Ferguson.)dgaudet2006-11-051-1/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@758 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* If fsync fails, make sure descriptor still closedbescoto2006-01-131-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@745 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't gzip 0 length filesbescoto2005-12-161-2/+53
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@712 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Final (?) too-long-filename bug fixbescoto2005-11-231-1/+39
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@687 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Error reporting cleanupbescoto2005-11-191-3/+13
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@684 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* rpath typo fixbescoto2005-11-061-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@680 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* re-enable carbonfile default, ignore errorsbescoto2005-11-061-31/+24
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@674 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added metadata diffing, and an iterfile hash bugfixbescoto2005-11-041-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@669 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added various compare options like --compare-full and --compare-hashbescoto2005-10-311-10/+0
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@664 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Write SHA1 digests for all regular filesbescoto2005-10-271-6/+24
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@662 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Refactored fs_abilities, also don't quote if case-insensitive->case-insensitivebescoto2005-10-241-5/+15
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@648 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for bug #14799 -- now autodetect whether destination supports high ↵bescoto2005-10-201-1/+1
| | | | | | permissions git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@639 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Try read/write fsync for cygwin, also add --preserve-numerical-idsbescoto2005-10-201-11/+30
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@638 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* short-term (?) kludge so missing carbonfile data doesn't cause crashbescoto2005-10-191-0/+7
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@634 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Avoid lchown requirementbescoto2005-09-071-1/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@630 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Stop python v2.2 from choking on device filesbescoto2005-09-011-2/+4
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@629 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Further fix so we can restore backups with mirror_metadata filesbescoto2005-08-171-0/+5
| | | | | | | missing intermediate directory git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@620 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Updated inctest - before it would compare increment attributes too strictlybescoto2005-08-141-2/+4
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@612 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added lchown to cmodule so rdiff-backup can preserve symlink uid/gidbescoto2005-08-111-5/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@606 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for bug#13613 - 64->32bit utime overflow errorbescoto2005-08-101-5/+13
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@605 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Keith Edmunds's patch adding --create-full-pathbescoto2005-08-081-0/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@601 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* patch#4136: OSX filename/rsrc has been deprecated for some time, and as of OSXdgaudet2005-06-301-2/+2
| | | | | | | | | | | 10.4 it causes log spam. the new proper use is filename/..namedfork/rsrc. fix from Daniel Westermann-Clark. i found mailing list evidence back at least to 2001 that this is supported in earlier versions of OSX. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@597 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109