chardev socket permissions

ib.pl

New Member
Apr 14, 2011
18
0
1
Hello,

I can see 755 mode on monitor socket (100.qmp) on PVE2.1 installation:

# ls -la /var/run/qemu-server
-rw------- 1 root root 5 Sep 10 04:01 100.pid
srwxr-xr-x 1 root root 0 Sep 10 04:01 100.qmp
srwxr-x--- 1 root root 0 Sep 10 04:01 100.vnc

Is is safe or should be rather 700 or 750? If so - where one should change it to do it pve compatible way?

Regards,
Pawel
 
Dietmar,

Thanks for quick reponse!

Hypervisor is rather sensitive thing, so - will

chmod 700 /var/run/qemu-server

break something in a way PVE works (now is 755) or may be applied safely?

Do all legitimate PVE procs use root privileges to access those sockets or any other tech accounts need access there?

Regards,
Pawel
 
Do all legitimate PVE procs use root privileges to access those sockets or any other tech accounts need access there?

You cant access anything, because there are no write permission (or do I miss soemthing)?
 

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!