bugGNU Screen - Bugs: bug #66522, Reattaching to other user's...

 
 

bug #66522: Reattaching to other user's session results in "seteuid: Operation not permitted" and segfault in 5.0.0

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 Release:  5.0.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 03 Dec 2024 09:11:11 AM UTC, original submission:  

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)


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.14-573e.
Corresponding source code