How to use screen as a non-root user?
Hi,
I am setting up Enemy-Territory on a remote centos 4.5 linux server. I am new to linux. So far, I have manage to get it running though by running as root. My Enemy-Territory setup guide wanted me to use screen as a non-root user. However, I have the below message while I logged in as a non-root user. "Cannot make directory '/tmp/uscreens': Permission denied" I can start "screen" while I logged in as root though. I seek your kind advise. Regards, nhc noobsplay.com |
It sounds like your tmp directory is not set up correctly to allow write access for everyone. Either that or the /tmp/uscreen directory is already created and your user doesn't have access to it. To check the perms for your tmp directory execute the following and look for the line for /tmp.
Code:
ls -l / If you don't have permissions to the tmp directory you can fix it as root Code:
chmod 777 /tmp 2 = write 1 = execute 4+2+1 = 7 I don't really understand why screen isn't using a hidden directory in your home directory. Mine uses .screen. |
Thank you snipes, it works now :)
|
All times are GMT -5. The time now is 06:46 PM. |