The bug is again there:
Upgrade from Ubuntu 11.10 to 12.04 ...
After it is ready login:
> Directory '/var/run/screen' must have mode 777.
> Directory '/var/run/screen' must have mode 777.
> Directory '/var/run/screen' must have mode 777.
---

Versions:
ii  byobu                                5.6-0ubuntu1                  
powerful, text based window manager and shell multiplexer
ii  screen                               4.0.3-14ubuntu8          terminal 
multiplexor with VT100/ANSI terminal emulation
ii  tmux                                 1.5-3                                  
    terminal multiplexer
---

/etc/init/screen-cleanup.conf:
# cat /etc/init/screen-cleanup.conf 
# screen

description "GNU Screen Cleanup"
author "Dustin Kirkland <kirkl...@canonical.com>"

start on filesystem

task

script
        SCREENDIR=/var/run/screen
        if [ -L $SCREENDIR ] || [ ! -d $SCREENDIR ]; then
                rm -f $SCREENDIR
                mkdir $SCREENDIR
                chown root:utmp $SCREENDIR
        fi
        find $SCREENDIR -type p -delete
        # If the local admin has used dpkg-statoverride to install the screen
        # binary with different set[ug]id bits, change the permissions of
        # $SCREENDIR accordingly
        BINARYPERM=`stat -c%a /usr/bin/screen`
        if [ "$BINARYPERM" -ge 4000 ]; then
                chmod 0755 $SCREENDIR
        elif [ "$BINARYPERM" -ge 2000 ]; then
                chmod 0775 $SCREENDIR
        else
                chmod 0777 $SCREENDIR
        fi
end script
---

dpkg-statoverride --list | grep screen:
---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/871879

Title:
  After upgrading /var/run/screen lacks right permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/screen/+bug/871879/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to