Package: screen
Version: 4.0.3-14
Severity: normal

How to reproduce

screen -dm -c alternate-screenrc
screen -r

fine that works
now do something stupid like

chown root:root alternate-screenrc
chmod 700 alternate-screenrc

and try again

screen -dm -c alternate-screenrc
screen -r
(Output) There is no screen to be resumed.

I think the first screen command should already give an error message (and a 
non zero exit code) not only the second.

It must have something todo with the -dm option since

screen -c alternate-screenrc
(Output) Unable to open "alternate-screenrc".

Gives at least a message that something went wrong. A non exit return code will 
still be on my wishlist.

Does it have something todo with 481411?

Best Regards,
  Torsten

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686-bigmem (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages screen depends on:
ii  dpkg                      1.15.3.1       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.10.2-6       Embedded GNU C Library: Shared lib
ii  libncursesw5              5.7+20100313-1 shared libraries for terminal hand
ii  libpam0g                  1.1.1-2        Pluggable Authentication Modules l

screen recommends no packages.

screen suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to