summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin/servconfig
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-02-06 01:09:06 +0100
committerDirk von Suchodoletz2007-02-06 01:09:06 +0100
commitc3a0d08bbc1ac072d991d3bb736cef98142354dd (patch)
tree2cd954027e9a13cfc30c93eccfbff66909843da5 /initramfs/initrd-stuff/bin/servconfig
parentSome cleanup for @@@serverip@@@ usage. Fixed debuglevel bug for (diff)
downloadcore-c3a0d08bbc1ac072d991d3bb736cef98142354dd.tar.gz
core-c3a0d08bbc1ac072d991d3bb736cef98142354dd.tar.xz
core-c3a0d08bbc1ac072d991d3bb736cef98142354dd.zip
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
Diffstat (limited to 'initramfs/initrd-stuff/bin/servconfig')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig1
1 files changed, 1 insertions, 0 deletions
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