screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #66522] Reattaching to other user's session results


From: anonymous
Subject: [screen-devel] [bug #66522] Reattaching to other user's session results in "seteuid: Operation not permitted" and segfault in 5.0.0
Date: Tue, 3 Dec 2024 04:11:14 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?66522>

                 Summary: Reattaching to other user's session results in
"seteuid: Operation not permitted" and segfault in 5.0.0
                   Group: GNU Screen
               Submitter: None
               Submitted: Tue 03 Dec 2024 09:11:11 AM UTC
                Category: Crash/Freeze/Infloop
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.0
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 03 Dec 2024 09:11:11 AM UTC By: Anonymous
Screen version: 5.0.0

Tested systems: 
Manjaro - 6.10.13-3-MANJARO #1 SMP PREEMPT_DYNAMIC x86_64 (arch packaged
version and also compiled manually from tarball)
Lubuntu - 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC x86_64 (manually
compiled)

Trying to reattach to a screen session started by other user results in many
"seteuid: Operation not permitted" errors and then segfault. It was working
correctly in screen 4.9.1.

I remember one bug related to multiuser sessions that was fixed in 2020 in
v4.9.0 (bug #37437) - that may be unrelated to this, but worth checking if
that works in v5.0.0. Right now I'm also getting the bug #66142 crash when
trying "-X stuff", even on screen compiled from tarball.

Reproduction:

As user1:

screen -S test
^A:multiuser on
^A:acladd user2

As user2:

screen -r user1/test

Effect:

seteuid: Operation not permitted
seteuid: Operation not permitted
seteuid: Operation not permitted
seteuid: Operation not permitted
(...)
seteuid: Operation not permitted
seteuid: Operation not permitted
seteuid: Operation not permitted
seteuid: Operation not permitted
seteuid: Operation not permitted
Segmentation fault (core dumped)









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66522>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]