Screen multiuser - Permission denied
Posted
by
Zlug
on Super User
See other posts from Super User
or by Zlug
Published on 2012-11-01T07:32:16Z
Indexed on
2012/11/01
11:04 UTC
Read the original article
Hit count: 331
I'm trying to send input to a screen session from php. So far I have followed the steps explained here
Is running GNU Screen suid root the only way to make multiuser mode work?
And I have set "multiuser on" and "acladd www-data" in the screenrc file (or well, no. in another file that I use by the -c option but still)
My problem now is that whenever i try to acess screen by php
exec('screen -S user/session -p 0 -X stuff "test"'."\n", $ret);
I get the error:
Cannot opendir /var/run/screen/S-user: Permission denied
© Super User or respective owner