tag 575088 + confirmed upstream
kthxbye

Hi Torsten,

Torsten Neumann wrote:
> 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.

I agree.

Nevertheless even screen without -dm does not return a non-zero exit
code in this situation either:

$ /usr/bin/screen -c /tmp/screenrc-bad
Unable to open "/tmp/screenrc-bad".
$ echo $?
0
$ 

> Does it have something todo with 481411?

I don't think so as #481411 has been fixed upstream and this problem
remains with the current HEAD.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to