Changes

Line 91: Line 91:  
# Causes SeaMonkey to put the .mozilla directory in a
 
# Causes SeaMonkey to put the .mozilla directory in a
 
# place that is writable, and also where Rainbow wants
 
# place that is writable, and also where Rainbow wants
# it.
+
# it.  SUGAR_ACTIVITY_ROOT is not suitable since it
export HOME="$SUGAR_ACTIVITY_ROOT/data"
+
# contains a reference to a user that will be destroyed
 +
# on reboot.
 +
export HOME="/home/olpc/isolation/1/gid_to_data_dir/$GROUPS"
    
# libgnomevfs ignores the HOME environment variable,
 
# libgnomevfs ignores the HOME environment variable,
Line 104: Line 106:  
# in HOME group-accessible (at a minimum, make
 
# in HOME group-accessible (at a minimum, make
 
# .mozilla and everything in it group-accessible).
 
# .mozilla and everything in it group-accessible).
chmod -R g+rwx $SUGAR_ACTIVITY_ROOT/data/.*
+
chmod -R g+rwx $HOME/.*
chmod -R g+rwx $SUGAR_ACTIVITY_ROOT/data/*
+
chmod -R g+rwx $HOME/*
    
while [ -n "$2" ] ; do
 
while [ -n "$2" ] ; do
Anonymous user