Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was just looking for some clarification on the screen command and permissions:

I ran this command to allow the user to view their detached screen. Otherwise the user could not view their detached screen:

sudo chmod o+rw /dev/pts/1

However, does this mean that another non root user can view their detached screen(s)?

Essentially I just want to make sure that no other non root user can view the users' detached screen.

Also how does screen decide to use /dev/pts/1, /dev/pts/2, /dev/pts/3, etc.?

Thanks for your help

share|improve this question
I'm unsure what you are trying to do, every user can issue screen -ls and screen -r for screens they created. – fuero Sep 17 '13 at 10:41

I have started using tmux instead as It works much better thank SCREEN which is a little old now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.