[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing writable configuration files for an Apache module.



Steve Kemp <skx@debian.org> writes:
>   Currently I create a directory '/var/lib/mod-virgule' and place
>  them there.  However I do there could be a better location to use
>  and I'm open to suggestions.

Are the files purely written by Apache or are they configuration
files? If the latter, then I think they should reside in /etc.
Otherwise I think /var/lib is the correct place for them.

>   One concern is that these files must be writable by the apache
>  process - to do that I've installed a new user and group and made
>  the directory +S.

Shouldn't they be installed as whatever user Apache is running as when
installed out of the box (or you could even parse the httpd.conf in
your postinst)? Then only Apache should be able to modify them, unless
the local administrator has decided otherwise.

-- 
*     Who are you going to believe, me or your own eyes? (Chico Marx)     *
*           PGP public key available @ http://www.iki.fi/killer           *



Reply to: