summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/eas_acls.py
Commit message (Collapse)AuthorAgeFilesLines
* Gah. Fix unicode support for linux systems where the destination Python ↵joshn2009-06-041-4/+10
| | | | | | 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-15/+20
| | | | 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-15/+24
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1053 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't crash when filesystem can't set ACL.owsla2009-03-021-1/+9
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1028 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support comments in rdiff-backup's ACL files and quote the quoting characterowsla2008-12-191-1/+1
| | | | | | | properly if user changed it. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@974 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Throttle verbosity of listattr() warningsowsla2008-11-131-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@964 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly handle EINVAL "Invalid argument" errors when setting extendedowsla2008-11-121-1/+1
| | | | | | | attributes. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@959 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Workaround for broken support for symlink extended attributes in pyxattr <owsla2008-11-111-0/+2
| | | | | | | 0.2.2. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@956 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle ELOOP ("Too many levels of symbolic links") error when reading extendedowsla2008-11-091-3/+6
| | | | | | | attributes from symlinks. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@955 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support extended attributes on symbolic linksowsla2008-09-271-6/+6
| | | | 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-3/+2
| | | | | | | 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
* Ignore Extended Attributes which have Unicode characters outside the currentowsla2008-07-221-1/+5
| | | | | | | system representation. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@917 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Catch EPERM error when trying to write extended attributes.owsla2008-07-131-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@911 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Catch another reasonable error when reading extended attributes.owsla2008-07-031-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@906 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Actually make rdiff-backup robust to failure to read an ACL because theowsla2008-06-231-5/+7
| | | | | | | file cannot be found. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@901 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Whoops. There is no such thing as a 'ListError' in python -- was confusedowsla2008-06-121-5/+5
| | | | | | | by a traceback message. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@893 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Make rdiff-backup robust to failure to read the extended attributes or ACLowsla2008-06-111-7/+20
| | | | | | | because the file cannot be found. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@892 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Improve Unicode support when logging in eas_acls.py (Fix from Saptarshi Guha)owsla2008-04-241-3/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@884 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typo.owsla2008-04-081-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@882 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* __str__ method for ACL's shouldn't fail on empty onesowsla2008-01-201-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@873 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Be quieter about the xattr warningsowsla2008-01-071-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@870 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Warn if can't write extended attribute.owsla2007-08-091-0/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@839 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle exception when trying to clear extended attributes on a file thatowsla2007-07-161-11/+16
| | | | | | | doesn't support them. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@827 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* listxattr() can also throw EPERM error if not supported.owsla2007-07-111-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@820 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* FIFOs don't have extended attributes -- don't try to access them.owsla2007-06-101-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@804 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Sockets don't have extended attributes -- don't try to access them.owsla2007-02-271-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@795 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Allow for preservation of FinderInfo for folders and fix typo in Time.pyowsla2007-01-251-2/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@777 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* typo fix for OSX Extended Attributes patch (from Andrew Ferguson)dgaudet2006-11-051-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@762 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Mac OS X Extended Attributes support. (Patch from Andrew Ferguson.)dgaudet2006-11-051-3/+13
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@760 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* false negative acl compare fixbescoto2005-12-121-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@702 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Some refactoring of metadata codebescoto2005-11-031-62/+16
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@668 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Misc changes, passes all tests nowbescoto2005-10-251-11/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@651 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Refactored fs_abilities, also don't quote if case-insensitive->case-insensitivebescoto2005-10-241-0/+11
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@648 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for bug #13576, destination system should not need posix1ebescoto2005-08-101-27/+60
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@604 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Log EACCES from listxattr rather than raising an exception -- this can happendgaudet2005-07-021-0/+3
| | | | | | | when the repository has permission problems. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@598 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* debian bug#306798: SELinux security attributes can not be removed anddgaudet2005-06-281-1/+10
| | | | | | | | rdiff-backup should not fail when it fails to remove them from temp files. fix from Konrad Podloucky. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@595 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* bug#13475: correct an UpdateError when backing up hardlinks with EAsdgaudet2005-06-281-6/+2
| | | | | | | | | | | | and/or ACLs. i have to admit to not being 100% certain of this fix -- because i'm not sure how to track down all the other users of __eq__ in this two classes to make sure my change makes sense in all contexts. it works in my testing though. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@594 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix from Paul P Komkoff Jr for uid typo in text_to_entrytuple.dgaudet2005-06-191-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@585 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Final changes for 0.13.3bescoto2003-10-141-7/+7
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@474 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added --never-drop-acls, ACL entry dropping. Final for 0.13.2bescoto2003-09-181-13/+58
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@442 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added mapping by name (not id) for ACLs.bescoto2003-09-161-122/+183
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@440 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added acl list <-> posix1e.ACL conversionbescoto2003-09-151-0/+46
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@437 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* ACL/EA parsing fixes, use new quoting stylebescoto2003-08-251-25/+34
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@403 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added ACL support, may have corrected a few EA bugsbescoto2003-07-181-34/+202
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@341 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Mostly tweaks to get the test cases to workbescoto2003-07-161-2/+44
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@337 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Many changes - added extended attribute support and file systembescoto2003-06-301-0/+185
ability detection git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@334 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109