summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/fs_abilities.py
Commit message (Collapse)AuthorAgeFilesLines
* Some older systems don't support unicode, so check for support before using it.joshn2009-04-181-1/+29
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1054 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Make sticky bit warnings quieter during fs_abilities checksowsla2009-03-081-7/+9
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1037 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Use the correct method to update globals.owsla2009-03-021-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1026 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Disable hardlinks by default on Windows when using --compare, etc.owsla2009-01-311-2/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1020 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typos.owsla2009-01-271-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1012 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix --override-chars-to-quoteowsla2009-01-071-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1008 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* When enable use_compatible_timestamps, make sure to reset Time.curtimestrowsla2009-01-031-1/+2
| | | | | | | on all connections. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@997 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* New option: --use-compatible-timestamps, which causes rdiff-backup to use - ↵owsla2009-01-031-0/+9
| | | | | | | | | asthe hour/minute/second separator instead of :. Enabled by default on systems which require : to be escaped. (Oliver Mulatz) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@996 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly fix escaping DOS devices and trailing periods and spaces; now supportsowsla2009-01-031-121/+143
| | | | | | | native Windows and Linxu/FAT32. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@993 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Revert previous patch & hold it for the new development branchowsla2009-01-031-149/+121
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@992 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* First pass at fixing escape DOS devices and trailing spaces/periods.owsla2009-01-031-121/+149
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@991 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Disable escape trailing spaces and periods for nowowsla2009-01-011-0/+12
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@987 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support comments in rdiff-backup's ACL files and quote the quoting characterowsla2008-12-191-1/+2
| | | | | | | properly if user changed it. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@974 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Test for symlink permissions now produces a functioning symlink.owsla2008-12-181-3/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@968 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Final fixes to trailing spaces supportowsla2008-11-131-3/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@963 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typo and fact that rpath.touch() doesn't return anythingowsla2008-11-131-4/+7
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@962 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Escape trailing spaces and periods on systems which require itowsla2008-11-131-1/+70
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@961 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add warning message if pyxattr is below version 0.2.2.owsla2008-11-121-0/+10
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@958 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't backup Windows ACLs if the --no-acls option is specified.owsla2008-10-071-0/+12
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@947 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add error handling and logging to Windows ACL support; fixes Windows backup toowsla2008-10-021-11/+37
| | | | | | | | SMB share. Improve test in fs_abilities to determine if Windows ACLs are supported. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@944 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add a warning message if extended attributes support is broken by theowsla2008-10-021-0/+7
| | | | | | | filesystem git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@943 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Improve warning message in light of new Windows ACLs supportowsla2008-08-211-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@930 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Move test for native Windows to eliminate additional remote callowsla2008-08-201-6/+4
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@928 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Disable hardlinks by default when backup source or restore destination isowsla2008-08-201-0/+6
| | | | | | | on Windows. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@926 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typo in fs_abilities and add EILSEQ to list of recoverable errors.owsla2008-07-041-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@907 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support for Windows ACLs. (Patch from Josh Nisly and Fred Gansevles)owsla2008-07-021-1/+33
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@904 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* We should preserve hardlinks even when the destination file system doesowsla2008-06-141-1/+1
| | | | | | | not support them. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@896 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle Windows' lack of getuid(), getgid(), hardlinks and symlinks inowsla2008-04-131-3/+3
| | | | | | | | fs_abilities.py. Use subproces.Popen() on Windows since it does not support os.popen2(). (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@883 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Change high-bit permissions test to check files and directories. (Patch fromowsla2008-01-091-5/+10
| | | | | | | Marc Horowitz) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@872 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add ability to requote a repositoryowsla2008-01-031-10/+28
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@863 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't print the warning about hard links if the user has specified theowsla2008-01-021-2/+3
| | | | | | | --no-hard-links option. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@861 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* We should FatalError at the point where the malformed UTF-8 character isowsla2007-12-251-5/+6
| | | | | | | | first encountered, instead of catching it and then letting it cause more trouble down the road. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@858 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Cosmetic touch-up since we now sometimes print non-ASCII charactersowsla2007-08-151-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@852 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* New quoting logic to check for non-ASCII chars and Windows special chars ↵owsla2007-08-141-11/+42
| | | | | | independently. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@851 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix hang on Cygwin/FAT32 and error on broken CIFS configurationsowsla2007-07-311-5/+14
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@835 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't run extended attributes test if --no-eas is givenowsla2007-07-171-0/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@828 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle exception when get permission denied on a file while tryingowsla2007-07-101-1/+4
| | | | | | | to establish case sensitivity on read-only side. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@817 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for bug #19896 -- symlink() doesn't work on a CIFS-mounted Windowsdgaudet2007-05-191-8/+12
| | | | | | | share. (Jonathan Hankins) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@802 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for bug #19895 -- eliminate traceback for special file detectiondgaudet2007-05-191-14/+21
| | | | | | | on CIFS mounts. (Jonathan Hankins) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@801 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix --list-increments bug in set_must_escape_dos_devices.owsla2007-01-311-2/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@792 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix fs_abilities.py patch error with set_escape_dos_devices.dgaudet2007-01-291-4/+4
| | | | | | | (Marc Dyksterhouse) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@788 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* DOS filename quoting adjustments from Marc Dyksterhouse.dgaudet2007-01-291-2/+4
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@782 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Escape DOS device filenames when necessary. [Marc Dyksterhouse]dgaudet2007-01-281-3/+51
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@780 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add global to avoid unnecessary system calls on systems where umask does not ↵owsla2006-12-291-0/+24
| | | | | | affect symlinks git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@775 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* UnboundLocal fix for set_extended_filenamesbescoto2006-01-111-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@744 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* "ordinary filename" shouldn't end with a . because it gives windows problemsbescoto2006-01-101-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@743 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for case sensitive <-> not case sensitive casebescoto2005-11-271-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@699 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* re-enable carbonfile default, ignore errorsbescoto2005-11-061-3/+0
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@674 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for fatal error with --override-chars-to-quotebescoto2005-11-061-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@672 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Typo fix by Murali Vadivelubescoto2005-10-301-3/+4
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@663 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109