Browse Source

gnunet: work-around sysupgrade restore missing file ownerships

Make sure /etc/gnunet and all its files and sub-directories are owned
by gnunet:gnunet. This is somehow necessary as file ownership otherwise
doesn't survive sysupgrade.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 65f5f850f3)
lilik-openwrt-22.03
Daniel Golle 2 years ago
parent
commit
c3858a879c
No known key found for this signature in database GPG Key ID: 5A8F39C31C3217CA
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/gnunet/files/gnunet.init

+ 1
- 1
net/gnunet/files/gnunet.init View File

@ -26,7 +26,7 @@ prepare_config() {
# minimal persistency in /etc/gnunet
[ ! -d /etc/gnunet ] && mkdir -m 0750 -p /etc/gnunet
chown gnunet:gnunet /etc/gnunet
chown -R gnunet:gnunet /etc/gnunet
# defaults paths for persistent files
gnunet-config -c "$CONFIGFILE" -s PATHS -o GNUNET_CONFIG_HOME -V /etc/gnunet


Loading…
Cancel
Save