If you use --user
option in your docker run
command, you need to change the owner to your user and group (I assume that the path to the data location is /mnt/storj/storagenode
):
sudo chown $(id -u):$(id -g) -R /mnt/storj/storagenode
please replace /mnt/storj/storagenode
to your actual path.