From cec962c2d9730a1d71f5b7a0dfedb6085785d7c2 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 19 Nov 2013 00:56:51 +0400 Subject: [PATCH] Fix a bug in directories permissions --- xml-ANNOUNCE | 3 +++ xml-minidom | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/xml-ANNOUNCE b/xml-ANNOUNCE index c1834b2..876a6db 100644 --- a/xml-ANNOUNCE +++ b/xml-ANNOUNCE @@ -5,6 +5,9 @@ WHAT IS IT View an XML file in Midnight Commander as a filesystem. +WHAT'S NEW in version 0.3.1 (2013-11-18) + Fixed a bug in directories permissions. + WHAT'S NEW in version 0.3.0 (2013-11-16) Initial release. diff --git a/xml-minidom b/xml-minidom index 9fee4d7..9dbfac6 100755 --- a/xml-minidom +++ b/xml-minidom @@ -32,7 +32,7 @@ The VFS was inspired by a FUSE xmlfs: https://github.com/halhen/xmlfs """ -__version__ = "0.3.0" +__version__ = "0.3.1" __author__ = "Oleg Broytman " __copyright__ = "Copyright (C) 2013 PhiloSoft Design" __license__ = "GPL" @@ -128,7 +128,7 @@ def _list(node, path=''): else: subpath = '%s %s' % (template % n, element.localName) subpath_encoded = subpath.encode(default_encoding, "replace") - print "dr--r--r-- 1 user group 0 Jan 1 00:00 %s" % subpath_encoded + print "dr-xr-xr-x 1 user group 0 Jan 1 00:00 %s" % subpath_encoded attrs = element.attributes if attrs: attr_text = _attrs2text(attrs) -- 2.39.5