Attachment 'multiconfig.py.patch'
Download 1 --- moin-1.8.2/MoinMoin/config/multiconfig.py 2009-01-23 23:39:19.000000000 -0500
2 +++ moin-1.8.2/MoinMoin/config/multiconfig.py 2009-04-27 09:21:47.000000000 -0400
3 @@ -535,7 +535,6 @@
4 Both data and underlay should exists and allow read, write and
5 execute.
6 """
7 - mode = os.F_OK | os.R_OK | os.W_OK | os.X_OK
8 for attr in ('data_dir', 'data_underlay_dir'):
9 path = getattr(self, attr)
10
11 @@ -544,7 +543,7 @@
12 continue
13
14 path_pages = os.path.join(path, "pages")
15 - if not (os.path.isdir(path_pages) and os.access(path_pages, mode)):
16 + if not os.path.isdir(path_pages):
17 msg = """
18 %(attr)s "%(path)s" does not exist, or has incorrect ownership or
19 permissions.
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.