On 00:38 Thu 14 Aug , Sven Dowideit wrote: SD> No, I was told by Nico or Joey that web apps should not be filling up SD> the /var filesystem with session files.
SD> this is apparently also _not_ a solution.
SD> /tmp was determined in October 2007 as the best place
Ok, Yoy can do it (in your postinst):
twiki_session_dir=`mktemp -d /tmp/twiki.XXXXXXXXXX`
chown www-data:www-data $twiki_session_dir # or chown $TWIKI_OWNER:www-data
chmod 0750 $twiki_session_dir # or chmod 1770 if $TWIKI_OWNER != www-data
perl -pi -e "s/(TempfileDir).*/$1} = '$twiki_session_dir';" \
/etc/twiki/LocalSite.cfg
attributes must be 0750 or 0770 or 0700 if owner==www-data
or 1770 if owner != www-data ($TWIKI_OWNER)
--
... mpd is off
. ''`. Dmitry E. Oboukhov
: :’ : [EMAIL PROTECTED]
`. `~’ GPGKey: 1024D / F8E26537 2006-11-21
`- 1B23 D4F8 8EC0 D902 0555 E438 AB8C 00CF F8E2 6537
signature.asc
Description: Digital signature

