By digging out and re-implementing advice given to me by Lawrence
Manning on 23 Oct 1999 (!!!), I got halfway towards being able to get
WWWOFFLE 2.7 to work on my box.

The full text of the advice is attached for comment. 

There is still something wrong with my file permissions, as the
following error messages show:


Feb 19 05:20:44 eureka wwwoffled[1067]: WWWOFFLE Demon Version 2.7 (with zlib,without 
ipv6) started. 
Feb 19 05:20:44 eureka wwwoffled[1069]: Detached from terminal and changed pid to 
1069. 
Feb 19 05:21:24 eureka wwwoffles[1072]: Cannot create temporary file 'temp/tmp.1072' 
[Permission denied]. 
Feb 19 05:21:24 eureka wwwoffles[1072]: Cannot open temporary spool file; [Permission 
denied]. 
Feb 19 05:21:24 eureka wwwoffles[1072]: Cannot open the message template 
'ServerError.html'. 
Feb 19 05:22:10 eureka wwwoffles[1113]: Cannot create temporary file 'temp/tmp.1113' 
[Permission denied]. 
Feb 19 05:22:10 eureka wwwoffles[1113]: Cannot open temporary spool file; [Permission 
denied]. 
Feb 19 05:22:10 eureka wwwoffles[1113]: Cannot open the message template 
'ServerError.html'. 

While I am still as lost as ever, perhaps my attempts will give the
needed clue.

Felix Karpfen
-- 

Felix Karpfen
[EMAIL PROTECTED]
Public Key 72FDF9DF (DH/DSA)
Keyserver http://wwwkeys.au.pgp.net

Date: Sat, 23 Oct 1999 12:38:20 +0100 (GMT)
From: Lawrence Manning <[EMAIL PROTECTED]>
To: Felix Karpfen <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [WWWOFFLE-Users] wwwoffle write permission
Sender: Majordomo <[EMAIL PROTECTED]>

Hi there Felix,

Here's how I have wwwoffle setup so I only have be root to actually start
woffled, everything else I can do as a normal user.

First I have wwwoffled running as daemon user and group with these lines
in wwwoffle.conf

 run-uid           = daemon
 run-gid           = daemon

Then I have these permitions in /var/spool/wwwoffle

drwxr-xr-x  21 daemon   daemon       1024 Oct 21 22:20 ftp/
drwxr-xr-x   5 root     root         1024 Oct 15 20:51 html/
drwxr-xr-x 322 daemon   daemon       9216 Oct 23 12:20 http/
drwxr-xr-x   2 daemon   daemon       1024 Oct 23 12:24 lasttime/
drwxr-xr-x   2 daemon   daemon       1024 Oct 15 20:51 monitor/
drwxr-xr-x   2 daemon   daemon       2048 Oct 23 12:07 outgoing/
drwxr-xr-x   2 daemon   daemon       4096 Oct 23 12:20 prevtime1/
drwxr-xr-x   2 daemon   daemon      23552 Oct 23 12:05 prevtime2/
drwxr-xr-x   2 daemon   daemon      37888 Oct 22 20:25 prevtime3/
drwxr-xr-x   2 daemon   daemon       1024 Oct 23 12:24 temp/
-rw-r--r--   1 root     root        30596 Oct 16 16:16 wwwoffle.conf

So, the daemon user has full control over its cache directories (http, ftp
etc) and it can also read the static html files.

It also need write access to the wwwoffle directory itself, so in
/var/spool:

drwxr-xr-x  12 daemon   daemon       1024 Oct 23 12:25 wwwoffle/

If you need any more help setting up those file permittions, then send me
a mail....

Hope it helps,

Lawrence



Reply via email to