Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: CVS repository
-
Labels:None
Description
Hi all,
is there a problem with the Moodle server or is this a problem on my own computer?
> can't create temporary directory /tmp/cvs-serv23370
> Read-only file system
The error message comes while I try to update my Moodle4Mac via cvs. The script was working perfectly in the past.
Best regards, Ralf
#! /bin/sh
#
- This CVS updater for Mac OS X is part
- of the installation package Moodle4Mac
- 20080421 - Ralf Krause
#
export CVS_RSH=ssh
echo
echo "--------------------------------------------"
echo "| CVS update for your local Moodle server "
echo "--------------------------------------------"
echo
cd /Applications/MAMP/htdocs/moodle19/
-
-
- delete all files named .DS_Store
find . -name ".DS_Store" -type f -print0 | xargs -0 rm -f
- delete all files named .DS_Store
-
-
-
- file ~/.cvspass must exist
if ! test -e ~/.cvspass ; then
touch ~/.cvspass
fi
- file ~/.cvspass must exist
-
-
-
- login to the cvs server only for the first time
if ! grep "uk.cvs.moodle.org" ~/.cvspass > /dev/null ; then
echo "CVS password is empty ... please only press <return> to start"
cvs -d :pserver:anonymous@uk.cvs.moodle.org:/cvsroot/moodle login
echo
fi
- login to the cvs server only for the first time
-
echo "Connecting to the CVS server. Download will take a few moments!"
echo "If the CVS update runs too long you may break with <strg>-C"
echo
cvs -q update -dP -r MOODLE_19_STABLE
Try cleaning out your /tmp and make sure its writable by your user