Compare commits

...

2 Commits

Author SHA1 Message Date
4774c70c25 Remove spurious warning from snap metadata 2024-02-14 23:24:40 +00:00
508b0f9ccb 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
2024-02-14 23:23:04 +00:00
2 changed files with 1 additions and 6 deletions

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

View File

@ -8,9 +8,6 @@ description: |
ipv4hostname and ipv6hostname using the `snap set` command as detailed at
https://docs.snapcraft.io/reference/snap-command#set . Activate the updater by
setting the updateipv4 and/or updateipv6 keys to "yes".
.
BEWARE - passwords are stored in world-readable plain text. Until I can find a
way around this problem do not use this snap in production.
grade: stable
confinement: strict
architectures: