Make the config info only readable to root

I don't know why this chmod didn't work previously
...it was a long time ago when I wrote this
This commit is contained in:
Neil McPhail 2024-02-14 23:23:04 +00:00
parent b84283d7b2
commit 508b0f9ccb

View File

@ -3,6 +3,4 @@
set -e
cp $SNAP/default.conf $SNAP_DATA/config
# The config file should not be world readable, but the snap user can't read it
# either if it is chmodded. How to solve this?
#chmod 600 $SNAP_DATA/config
chmod 600 $SNAP_DATA/config