Changes
Running Linux Applications Under Sugar (view source)
Revision as of 22:35, 13 July 2008
, 22:35, 13 July 2008→Comments
# 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,
# 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