Directory '/var/run/screen' must have mode 777.

amace

Renowned Member
Dec 17, 2012
24
3
68
Armpit, Hell
I have a new install of 4.4 that has subject problem with screen. I can fix the problem by chmod 777 but I don't understand why the problem comes back after each reboot. This problem started after I backed up the OS (fresh install) and restored it on md/raid. Other installations I've done, that have not been backed up and restored, work fine with the standard permissions:

drwxrwxr-x 2 root utmp 40 Jun 12 21:33 /var/run/screen/

Not finding anything definitive on google search. Only solution I've found is chmod 777 /var/run/screen ... Has anyone else seen this error and/or have a fixx?

root@pve0:~# pveversion -v
proxmox-ve: 4.4-89 (running kernel: 4.4.67-1-pve)
pve-manager: 4.4-13 (running version: 4.4-13/7ea56165)
pve-kernel-4.4.35-1-pve: 4.4.35-77
pve-kernel-4.4.67-1-pve: 4.4.67-89
pve-kernel-4.4.62-1-pve: 4.4.62-88
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+1
libqb0: 1.0.1-1
pve-cluster: 4.0-52
qemu-server: 4.0-110
pve-firmware: 1.1-11
libpve-common-perl: 4.0-95
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-2
pve-docs: 4.4-4
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-100
pve-firewall: 2.0-33
pve-ha-manager: 1.0-41
ksm-control-daemon: 1.2-1
glusterfs-client: 3.11.0-1
lxc-pve: 2.0.7-4
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80
ceph: 10.2.7-1~bpo80+1
 
Hi,

I have a new install of 4.4 that has subject problem with screen. I can fix the problem by chmod 777 but I don't understand why the problem comes back after each reboot.

Force reinstall screen to bring it in a good state again:
Code:
sudo apt-get --reinstall install screen

Also I suggest that you give "tmux" a look, it is a modern alternative to screen with a few more features, just as a side note. :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!