Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Set permissions on snapshot later so that initial address can be gene…
Browse files Browse the repository at this point in the history
…rated (#33)
  • Loading branch information
jmcanterafonseca-iota authored Mar 23, 2021
1 parent 07cfe9a commit 8db2919
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hornet-private-net/private-tangle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ volumeSetup () {
## Change permissions so that the Tangle data can be written (hornet user)
## TODO: Check why on MacOS this cause permission problems
sudo chown 39999:39999 db/private-tangle
sudo chown 39999:39999 snapshots/private-tangle

}

Expand All @@ -119,6 +118,9 @@ startTangle () {
# Initial address for the snapshot
generateInitialAddress

# Change permissions for the snapshots
sudo chown 39999:39999 snapshots/private-tangle

setupCoordinator

# We could get rid of nginx as we no longer need it. We show a message to the user.
Expand Down

0 comments on commit 8db2919

Please sign in to comment.