Package: screen
tags 390506 patch
thanks

The attached patch fixes this bug (which I've been bitten by too):

diff -urN screen-4.0.3.orig/debian/init screen-4.0.3/debian/init
--- screen-4.0.3.orig/debian/init	2006-12-06 20:12:47.000000000 +0100
+++ screen-4.0.3/debian/init	2006-12-06 20:16:42.000000000 +0100
@@ -9,6 +9,11 @@
 
 case "$1" in
 start)
+    if [ ! -d $SCREENDIR ]; then
+        mkdir $SCREENDIR
+	chown root:utmp $SCREENDIR
+	chmod 775 $SCREENDIR
+    fi
     if find $SCREENDIR -type p | grep '^' >/dev/null; then
         echo -n 'Cleaning up stale screen sessions... '
         find $SCREENDIR -type p -print0 | xargs -0 rm -f
Regards
/Rasmus

-- 
-- [ Rasmus "Møffe" Bøg Hansen ] ---------------------------------------
If you try to prove Murphy's law - will you fail?
----------------------------------------------[ moffe at zz9 dot dk ] --

Reply via email to