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:
parent
b84283d7b2
commit
508b0f9ccb
@ -3,6 +3,4 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
cp $SNAP/default.conf $SNAP_DATA/config
|
cp $SNAP/default.conf $SNAP_DATA/config
|
||||||
# The config file should not be world readable, but the snap user can't read it
|
chmod 600 $SNAP_DATA/config
|
||||||
# either if it is chmodded. How to solve this?
|
|
||||||
#chmod 600 $SNAP_DATA/config
|
|
||||||
|
Loading…
Reference in New Issue
Block a user