From c3a0d08bbc1ac072d991d3bb736cef98142354dd Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 6 Feb 2007 00:09:06 +0000 Subject: Enforce proper permissions in /tmp (needed if rw nfs mounts on /tmp are used). Experiment for runvmware to park only the spare ram image file to nfs and keep the diffs in memory ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@690 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/bin/servconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'initramfs/initrd-stuff/bin') diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig index 43ed0796..d494b107 100755 --- a/initramfs/initrd-stuff/bin/servconfig +++ b/initramfs/initrd-stuff/bin/servconfig @@ -437,6 +437,7 @@ if [ "x$start_x" != "xno" ] ; then /tmp/.ICE-unix \ /tmp/.X11-unix ; do testmkd /mnt/$i; done chmod 1777 /mnt/tmp/.ICE-unix /mnt/tmp/.X11-unix + chown 0:0 /mnt/tmp/.ICE-unix /mnt/tmp/.X11-unix echo "# file emtied by $0 during initramfs" > /mnt/etc/X11/xdm/Xservers # define additional sessions offered to the user (via dhcp/ldap config) # descsession -> deprecated by new vmware integration concept -- cgit v1.2.3-55-g7522