Commit ba4802d1 authored by owsla's avatar owsla

Sockets don't have extended attributes -- don't try to access them.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@795 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 1ab062a2
New in v1.1.10 (????/??/??)
---------------------------
Sockets don't have extended attributes -- don't try to access them.
(Patch from Andrew Ferguson.)
Fix restore from read-only bug -- rx perms on a repository directory are
enough, no need for write perms when restoring. (patch from Andrew Price)
......
......@@ -553,7 +553,7 @@ def rpath_ea_get(rp):
"""
ea = ExtendedAttributes(rp.index)
if not rp.issym(): ea.read_from_rp(rp)
if not rp.issym() and not rp.issock(): ea.read_from_rp(rp)
return ea
rpath.ea_get = rpath_ea_get
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment