Skip to content

Commit

Permalink
Item1895: remove old remnants of /tmp/foswiki, which isn't used anymore
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@4772 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Sep 5, 2009
1 parent bc6e584 commit eae460c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/tools/pkg/debian/postinst
Expand Up @@ -161,12 +161,6 @@ case "$1" in
#mmmm, mailnotify etc may be running _not_ as www-data
#and for some reason create a session
#use 1777 to prevent third parties replacing the file with a doctored one
#put into /tmp/foswiki so that the open dir can't be used by others to fill up /var, thus crashing all logging
if [ ! -e /tmp/foswiki ]; then
mkdir /tmp/foswiki
fi
chmod 1777 /tmp/foswiki
chown $WIKI_OWNER.www-data /tmp/foswiki

if [ ! -e /var/lib/foswiki/log ]; then
ln -s /var/log/foswiki /var/lib/foswiki/log
Expand Down

0 comments on commit eae460c

Please sign in to comment.