Joined: 01 Jul 2004
|Posted: Sat Sep 07, 2013 3:26 pm Post subject: app-misc/screen socket directory
|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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?