Skip to content

Commit

Permalink
chore: fix permission issue in install hook
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoppenheimer committed Mar 31, 2024
1 parent 2f003e7 commit a50620a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions snap/hooks/install
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ do
mkdir -p $DATA

cp "${SNAP}"/etc/$COMPONENT/* $CONF
done

chmod -R 770 "${SNAP_DATA}"/*
chmod -R 770 "${SNAP_COMMON}"/*
chmod -R 770 "${SNAP_DATA}"/*
chmod -R 770 "${SNAP_COMMON}"/*

chown -R snap_daemon "${SNAP_DATA}"/*
chown -R snap_daemon "${SNAP_COMMON}"/*
done
chown -R snap_daemon "${SNAP_DATA}"/*
chown -R snap_daemon "${SNAP_COMMON}"/*

0 comments on commit a50620a

Please sign in to comment.