Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-misc/screen socket directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9645
Location: almost Mile High in the USA

PostPosted: Sat Sep 07, 2013 3:26 pm    Post subject: app-misc/screen socket directory Reply with quote

I've noticed over the years that the socket directory has been changing for app-misc/screen. As I have been moving things around I got bit by a bug:

Apparently unix sockets cannot be reliably created on NFS, but the recent versions of app-misc/screen install the socket in ~/.screen. Unfortunately for users who have accounts on a NFS share, even if the person goes back to the same machine with the screen session, the socket can go away. So it would be best to have this installed on a local tmpdir like it has in the past.

This is in contradiction with security as it has been a security hole to have a public screen directory.

For now I have to set SCREENDIR to a directory I create on a local filesystem, but I wonder if there is a better way to handle this. Perhaps the default public screen directory needs to be created by portage so that two people won't collide when creating the socket directory? What leakage is there with the visibility of the socket files as long as the permissions are correct?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum