OpenVZ Forum


Home » General » Support » /dev (devtmpfs) permissions is 1777 (el6 containers after start has permissions 1777 on /dev (like /tmp))
Re: /dev (devtmpfs) permissions is 1777 [message #48709 is a reply to message #48628] Tue, 06 November 2012 21:00 Go to previous messageGo to previous message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
Don't know if this addresses your particular problem but I recreate the dev devices after each reboot in /etc/rc.local. If you are having a problem with some other one like /dev/tmp then you could add that as well.

/bin/rm -rf /dev/null
/bin/rm -rf /dev/random
/bin/rm -rf /dev/tty*
/bin/rm -rf /dev/pty*
/bin/mknod -m 0666 /dev/null c 1 3
/bin/mknod -m 0644 /dev/random c 1 8
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty

[Updated on: Tue, 06 November 2012 21:02]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to dump the containers configuration files alone using vzdump util!!
Next Topic: Reference - Error boot new kernel compile openvz for ppc64 bits
Goto Forum:
  


Current Time: Sun Aug 03 05:50:06 GMT 2025

Total time taken to generate the page: 1.00137 seconds