]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Insecure_dependency_in_mkdir.mdwn
response
[ikiwiki.git] / doc / bugs / Insecure_dependency_in_mkdir.mdwn
1 Joey, please see RecentChanges and note that this is my second bug report,
2 because the first was unsuccessfully (bad characters in post title?).
3 Could you please tidy it up?
4
5 > I've fixed that and the bug that caused the dup.
6
7 I've just upgraded my ikiwiki from version 2.11 to the latest version 2.15.
8 I use my own rebuilt ikiwiki package for Ubuntu Gutsy box. Now I can't rebuild
9 all my ikiwiki pages, because of the following bug:
10
11     ptecza@anahaim:~/blog$ ikiwiki --setup ikiwiki.setup --getctime --verbose
12     [...]
13     scanning post/2007/12/09/pink-freud-w-cafe-kulturalna.mdwn
14     ikiwiki.setup: Insecure dependency in mkdir while running with -T switch at /usr/share/perl5/IkiWiki.pm line 355.
15     BEGIN failed--compilation aborted at (eval 5) line 151.
16
17 I have a write permission to the ikiwiki destination directory:
18
19     ptecza@anahaim:~/blog$ ls -ld /var/www/blog/
20     drwxr-xr-x 2 ptecza ptecza 4096 2007-12-17 10:48 /var/www/blog/
21
22 I've read ikiwiki changelog for the previous releases and unfortunately
23 I can't see any related entries. Any ideas?
24
25 --[[Paweł|ptecza]]
26
27 > **Update**: I've came back to ikiwiki 2.11 and... the bug still exists!
28 > Probably the reason is that I've removed all content of `/var/www/blog/`
29 > before mass rebuilding. --[[PaweÅ‚|ptecza]]
30
31 > I can't reproduce this bug with a setup file that tells ikiwiki to
32 > write to /var/www/blog, which doesn't exist. I get a "Permission denied"
33 > since I can't write to /var/www. If I make the permissions allow me to
34 > write to /var/www, it happily creates the blog subdirectory. If the blog
35 > subdirectory is already there and I can write to it, that of course also
36 > works.
37
38 > I'll need enough information to reproduce the problem before I can fix
39 > it. Probably a copy of your setup file, wiki source, and information
40 > about how your /var/www is set up. --[[Joey]]