* Make sure that /tmp/.ICE-unix is owned by root and has 1777
permissions. Otherwise it ends up being owned by the first user to log in, and other users' iceauth calls fail. svn path=/nixos/trunk/; revision=23052
This commit is contained in:
parent
5041cdddbd
commit
e41e6a65bb
modules/system/boot
|
@ -118,6 +118,11 @@ rm -rf /var/log/upstart
|
|||
#echo " done"
|
||||
|
||||
|
||||
# Get rid of ICE locks and ensure that it's owned by root.
|
||||
rm -rf /tmp/.ICE-unix
|
||||
mkdir -m 1777 /tmp/.ICE-unix
|
||||
|
||||
|
||||
# This is a good time to clean up /nix/var/nix/chroots. Doing an `rm
|
||||
# -rf' on it isn't safe in general because it can contain bind mounts
|
||||
# to /nix/store and other places. But after rebooting these are all
|
||||
|
|
Loading…
Reference in New Issue