Hi, I have a problem with Hiawatha, that is a show-stopper for me.
I want to use Hiawatha to serve a tiny blog called PPLOG. This is a single 80KB Perl script, with one css file and a couple of images. It's a great little blog -- I use it on my Puppy Linux site at http://puppylinux.com/blog/
Anyway, I compiled and installed Hiawatha, then placed PPLOG inside the webrootdir, and PPLOG works, or rather almost works.
I was able to make a post to the blog, but cannot edit an entry after it is posted.
The blog is at <webrootdir>/blog and posts go into <webrootdir>/blog/posts, as plain text files. The first post is a file named 00000.ppl. When I attempt to edit this post, I get this message:Insecure dependency in open while running setuid at <webrootdir>/blog/pplog.pl line 901.
I substituted the actual path with <webrootdir>. The error is where the Perl script is trying to open the 00000.ppl for writing. It doesn't matter what user id, group id or permissions I give to 00000.ppl, Hiawatha will not let PPLOG write to it.
Can you please advise how I can work around this problem?