Forum

FreeBSD 8.1 and hiawatha directories

Peter
2 August 2010, 15:28
Hi there,

I have a strange issue with hiawatha and the latest FreeBSD 8.1. Never have I come accross this behavior before with hiawatha.

For some reason, each time I start hiawatha the root level directory (/opt) changes ownership to hiawatha user and group and access rights are given to hiawatha only, no group access nor everyone.

To elaborate the issue a little;
1) I normally change the configure.ac to place the hiawatha.conf file to /opt/hiawatha/etc instead of /opt/hiawatha/etc/hiawahta.
2) I compile the hiawatha from sources with ./configure --prefix=/opt/hiawatha --disable-xslt -disable-monitor.
3) I use my old rc script to startup hiawatha normally from /opt/hiawahta/sbin directory ( the rc script does not modify the opt directory acl)
4) Once hiawahta is started, the owner of the /opt directory becomes wwwuser and the group changes to wwwuser with acl: drwx------; ie. access rights are given to only wwwuser and I need to manually change it to support other applications and groups under /opt directory.

This possessive behavior is so weird that I needed to write it here as a possible bug..

Any ideas

Regards,
Peter



Hiawatha version: 7.3
Operating System: FreeBSD 8.1
Hugo Leisink
2 August 2010, 18:26
The only directory Hiawatha changes the ownership of is the WorkDirectory (needed to store temporary files for PUT requests). What is the value of your WorkDirectory setting?
Peter
2 August 2010, 21:11
Hi Hugo,

Problem solved - I did not know that Hiawatha changed the access rights - nor did I notice that my working directory was set to opt

Thanks for your help,

Peter
This topic has been closed.