From 44344d507da78147269df58aba3518156d9b84c1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 18 Mar 2017 11:30:08 +0000 Subject: [PATCH] Ratchet permissions --- src/freedombone-app-xmpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index acc0068f..0db02890 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -409,6 +409,8 @@ function upgrade_xmpp_client { fi cp $INSTALL_DIR/profanity-omemo-plugin/deploy/prof_omemo_plugin.py /etc/skel/.local/share/profanity/plugins fi + + chmod -R 700 /root/.local/lib/python3.4/site-packages/python_axolotl_* } function upgrade_xmpp { @@ -1109,6 +1111,8 @@ function install_xmpp_client { chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.local chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config + chmod -R 700 /root/.local/lib/python3.4/site-packages/python_axolotl_* + install_completed xmpp_client }