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 #48615 is a reply to message #48348] Thu, 25 October 2012 10:24 Go to previous messageGo to previous message
ccto is currently offline  ccto
Messages: 61
Registered: October 2005
Member
I run a test CentOS 6.3 HW and VE

The VE is centos-6-x86_64.tar.gz (downloaded from openvz.org)

Inside the VE, if I run

mkdir /z
mount -n -o mode=0755 -t devtmpfs none /z

ls -l /
..
drwxrwxrwt  8 root root  2140 Oct 25 18:15 z


It also shows the folder z (/devtmpfs) is 1777 when mount.

---

The command "mount -n -o mode=0755 -t devtmpfs none "$udev_root"" is inside /sbin/start_udev
where /sbin/start_udev triggered during startup

and the above command make the /dev become 1777

I tried to compare the script - /sbin/start_udev to the standard CentOS 6 one, they are identical.

Does it relate to OpenVZ and the devtmpfs handling !?

[Updated on: Thu, 25 October 2012 10:26]

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: Mon Aug 04 17:59:17 GMT 2025

Total time taken to generate the page: 1.42425 seconds