Commit 0f4e301e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lyskomd_start): Use chmod to make sure that the database is writable

	even if it is copied from a read-only tree.
parent 59ae5e7b
......@@ -289,6 +289,7 @@ proc lyskomd_start {{aux_item_conf_file ""} \
system "mkdir db etc"
system "cp $top_srcdir/db-crypt/db/lyskomd-data db/"
system "cp $top_srcdir/db-crypt/db/lyskomd-texts db/"
system "chmod 644 db/lyskomd-data db/lyskomd-texts"
set cf [open "config/lyskomd-config" "w"]
puts $cf "Client port: $clientport"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment