Dmitry E. Oboukhov wrote: > 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) > and then on upgrade, create another one because the user selected to overwrite the cfg, and so on - sounds like its less of a solution than to use a predictable dir, with a more appropriate attempt to make sure its safe.
it worries me that you appear to be contradicting the permissions I was required to set up for #444982 - I'm not quite sure who's advice should get priority - Joey's or yours. Perhaps I should set up a google fight. Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]