summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2009-12-24 08:22:04 (GMT)
committerChristian Pointner <equinox@helsinki.at>2009-12-24 08:22:04 (GMT)
commitc8a81cebcb6efbb61b0f4f801963f279f161d9d2 (patch)
treee9d6549afbe2eb66a121a7d423428bb0fbb90cb0
parentf499717300d9b1901947bc010c1b68305b32bf52 (diff)
fixed permissions at initscript
-rwxr-xr-xdebian/rhdropbox.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rhdropbox.init b/debian/rhdropbox.init
index 79d8c38..429c682 100755
--- a/debian/rhdropbox.init
+++ b/debian/rhdropbox.init
@@ -32,6 +32,7 @@ start_db () {
test -d $CHROOTDIR || mkdir -p $CHROOTDIR
fi
test -d $VARRUN_DIR || mkdir -p $VARRUN_DIR
+ chmod 777 $VARRUN_DIR
DAEMONARG=`sed 's/#.*//' < $CONFIG_DIR/$DBNAME/config | grep -e '\w' | sed 's/^/--/' | tr '\n' ' '`
$DAEMON --write-pid $VARRUN_DIR/$DBNAME.pid $NEWFILE $DAEMONOPTS $DAEMONARG || STATUS="FAILED"
else