On Thu, Jun 29, 2017 at 7:52 PM, Axel Beckert <a...@deuxchevaux.org> wrote:
> > I know that behaviour of screen for ages and even saw people > recommending tmux because it doesn't seem to have this issue. > > > /dev/pts/14 is indeed not owned by user test, but this way screen > > have worked fine for as long as I can remember, so this access > > should not be mandatory. > > > > Any way to return the old behaviour? > > I'd rather be interested in how you got that working all these years. > :-) > Just tried v4.5. /usr/bin/screen (rwxr-sr-x) does not work with su but /usr/local/bin/screen (rwsr-xr-x) I built from source works fine: # ls -Ll /usr/bin/screen /usr/local/bin/screen -rwxr-sr-x 1 root utmp 457608 2017-05-23 07:57 /usr/bin/screen -rwsr-xr-x 1 root staff 1441416 2017-01-19 13:59 /usr/local/bin/screen # /usr/bin/screen --version Screen version 4.05.00 (GNU) 10-Dec-16 # /usr/local/bin/screen --version Screen version 4.05.00 (GNU) 10-Dec-16 # su - clarkw -c '/usr/bin/screen echo hello' Cannot open your terminal '/dev/pts/3' - please check. # su - clarkw -c '/usr/local/bin/screen echo hello' hello [screen is terminating] # Just compiled v4.6 (rwsr-xr-x) but it did not work either: # ls -Ll /usr/local/screen-4.6.0/bin/screen -rwsr-xr-x 1 root staff 1558704 2017-06-30 14:32 /usr/local/screen-4.6.0/bin/screen # su - clarkw -c '/usr/local/screen-4.6.0/bin/screen echo hello' Cannot open your terminal '/dev/pts/3' - please check. # -clark
_______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users