aboutsummaryrefslogtreecommitdiffstats
path: root/FuseArchive
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2009-11-03 22:28:34 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2009-11-03 22:28:34 (GMT)
commit8a2c03fe1c4ce3e23b117922ee587dc7ad46126c (patch)
tree403083dd7b9d1f85c5909c458301455bfd024681 /FuseArchive
parent8b9aa09e8050545d1189753297961c917db8718b (diff)
downloadfusearchive-8a2c03fe1c4ce3e23b117922ee587dc7ad46126c.zip
fusearchive-8a2c03fe1c4ce3e23b117922ee587dc7ad46126c.tar.gz
fusearchive-8a2c03fe1c4ce3e23b117922ee587dc7ad46126c.tar.bz2
Include a fix for broken rsync symlink support
Diffstat (limited to 'FuseArchive')
-rw-r--r--FuseArchive/FileSystem.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/FuseArchive/FileSystem.py b/FuseArchive/FileSystem.py
index fe793e1..93f8101 100644
--- a/FuseArchive/FileSystem.py
+++ b/FuseArchive/FileSystem.py
@@ -122,12 +122,17 @@ class FileSystem(fuse.Fuse):
# which suggests it should be fixed even though it doesn't appear to be for
# me in both lenny and squeeze
#
+# While I don't like it you can also modify the 2 Timespec() calls to have
+# None as the first argument which will fix the typeerrors above, but
+# you'll need to remember to do it again later if you upgrade the package.
+#
#######
# The following utimens method would do the same as the above utime method.
# We can't make it better though as the Python stdlib doesn't know of
# subsecond preciseness in acces/modify times.
#
-# def utimens(self, path, ts_acc, ts_mod):
+ def utimens(self, path, ts_acc, ts_mod):
+ logging.error( "Ignoring utimens, hope you like it rsync!" )
# os.utime("." + path, (ts_acc.tv_sec, ts_mod.tv_sec))
def access(self, path, mode):