Answers for "cannot make directory '/run/screen' permission denied"

0

cannot make directory '/run/screen' permission denied

The directory /var/run/screen/ is the socket directory for screen.

    Fortunately, screen reads a environment variable SCREENDIR to get an alternative socket directory.

    So to work around it, you can create a directory, such as ~/.screen:

    mkdir ~/.screen && chmod 700 ~/.screen

    and export the SCREENDIR to point to that directory:

    export SCREENDIR=$HOME/.screen

    You can also put this line into you ~/.bashrc so that it will also take effect afterwards.
Posted by: Guest on February-22-2022

Code answers related to "cannot make directory '/run/screen' permission denied"

Browse Popular Code Answers by Language