[K12OSN] .openoffice (sorry about last...

george kocke webmaster at vol.org
Fri Aug 26 13:08:28 UTC 2005


On Fri, 2005-08-26 at 05:55, cliebow at downeast.net wrote:

> anyone have a quickie fix for moving .openoffice.org1.9.100 folders to all
> users so they have my defaults..without an error concernng ownership.it
> works fine if you just answer the prompt and go on..just not clean.i take
> one working .openoffice folder from a user that works perfectly remove the
> lock file and give it to everyone..where is that ownership temporarily
> stored in the folder??

See my userprep (and the goldprep / goldmember) scripts:

http://www.vol.org/vol/school/freesoftware/ltsp/userprep.txt


Here's the openoffice bit:


###############################################################################
# install openoffice
###############################################################################
    cd $HOME

    OO_USER_DIR=".openoffice.org2"

    if [ ! -d $OO_USER_DIR ]; then

	cp -a /home/golden/$OO_USER_DIR $OO_USER_DIR
	chown -R $USER.$USER $OO_USER_DIR

	cd $OO_USER_DIR
	find . -type f | xargs perl -pi -e "s/golden/$USER/g;"

	#xmessage "OpenOffice installation: COMPLETE" &
    fi


-- 
george kocke <webmaster at vol.org>
http://www.vol.org


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




More information about the K12OSN mailing list