MCHostPanel
MCHostPanel copied to clipboard
GNU Screen Permission Error
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
chmod lol?
To what? It dosent accept anything.
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.