aboutsummaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-05 17:24:43 -0500
committerBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-05 17:24:43 -0500
commitc0c04704602e45b16509ea808e80fe47aeb393ed (patch)
tree4b65770534bcca786a164def0cccb38ede610b67 /setup.sh
parent7d95094cf5d41db50caf18c2db271462a4a027bb (diff)
downloadbbj-c0c04704602e45b16509ea808e80fe47aeb393ed.tar.gz
fffffffffff the setup was borked
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.sh b/setup.sh
index 241efb1..310e7f6 100755
--- a/setup.sh
+++ b/setup.sh
@@ -20,7 +20,7 @@ EOF
--dbset )
sqlite3 data.sqlite < schema.sql
echo cleared
- chmod 400 data.sqlite
+ chmod 600 data.sqlite
exit;;
esac
@@ -31,4 +31,4 @@ echo Using $PYTHON...
$PYTHON -m pip install ${DEPS[*]}
echo "Enter [i] to initialize a new database"
read CLEAR
-[[ $CLEAR == "i" ]] && sqlite3 bbj.db < schema.sql; chmod 400 data.sqlite
+[[ $CLEAR == "i" ]] && sqlite3 data.sqlite < schema.sql; chmod 600 data.sqlite
Un proyecto texto-plano.xyz