summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/rpath.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix restoring single files.joshn2009-06-231-0/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1058 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Gah. Fix unicode support for linux systems where the destination Python ↵joshn2009-06-041-7/+12
| | | | | | installation doesn't support unicode filenames. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1057 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Some older systems don't support unicode, so check for support before using it.joshn2009-04-181-11/+15
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1054 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Use Unicode for paths internally to add support for Unicode on Windows.joshn2009-04-091-3/+39
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1053 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Make sticky bit warnings quieter during fs_abilities checksowsla2009-03-081-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1037 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Allow rdiff-backup to backup files which it cannot read, but can changeowsla2009-01-031-0/+8
| | | | | | | the permissions of. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@995 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Prevent backing-up reparse points on Windowsowsla2008-12-221-0/+10
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@977 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Print a more helpful error message if we cannot read the backup destination.owsla2008-12-191-0/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@972 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Catch EACCES as well as EPERMowsla2008-12-171-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@967 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for crash when deleting read-only files on Windows. (Patch from Josh Nisly)owsla2008-12-171-1/+12
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@966 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Inform the user of which file has failed if an exception occurs during aowsla2008-10-231-1/+4
| | | | | | | rename operation. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@954 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Automatically resume after a failed initial backup. (Patch from Josh Nisly)owsla2008-10-121-0/+23
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@950 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Open stdin/stdout in binary mode on Windowsowsla2008-10-121-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@949 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support extended attributes on symbolic links (part 2)owsla2008-09-271-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@941 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* 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