MCHostPanel icon indicating copy to clipboard operation
MCHostPanel copied to clipboard

GNU Screen Permission Error

Open jullegulle2000 opened this issue 7 years ago • 3 comments

Heyyo, So after i did a yearly os reset by installing a brand new centos 7 minimal on the machine i decided to give this panel another try. I installed GNU Screen, Apache, PHP 5.4.16 & Java 8. I doubt it would work this time, But it didnt. It threw same error at me as before:

Running as user: apache

Cannot make directory '/var/run/screen/S-apache': Permission denied

I tried everything i could. I'm starting to wounder if its the apache name thats incorrect for me and the permissions. The webserver files are owned by "www-data" as you might have expected, But if i do the exec whoami in php it tells me apache. And same does your script when saying: "Running as user: apache". Shall i set the webserver files to apache too? Or what permission changes are required for this to work. It would be awesome if you could help me make this work, And i really hate opening a new issue for this. Thanks! ~Julle

jullegulle2000 avatar Jan 26 '18 08:01 jullegulle2000

chmod lol?

OGFris avatar Feb 10 '18 23:02 OGFris

To what? It dosent accept anything.

jullegulle2000 avatar Feb 11 '18 02:02 jullegulle2000

You seems not to have correct permissions setup for the /var/run/screen folder for the webserver user.

A ls -al should show the set permission in the directory.

Boxedsolutions avatar Feb 21 '18 00:02 Boxedsolutions