When I run this (substituting my data path, which is /mnt/storj), I get:
`ERROR: bandwidth.db not found at: "/mnt/storj/storage" or "/mnt/storj".`
@BrightSilence, you pointed out this is a permissions problem; I did try running it with “sudo” and that was successful (and I appreciate the security caution you raised).
I’d like to figure out how to do this properly - that is, how to grant the appropriate permissions to my user account, so I don’t need to use sudo. But, I’m confused on a couple points.
- The error message seems a little off, it seems like the script should be able to find the data, it just can’t access it. OK, so the error message is just not perfect, no big deal there.
- But the file in question is already globally readable! It has permissions -rw-r–r–.
So, do I have to make every file in that directory readable by my linux user? Or are there a finite number of key files I need to chmod to make it work?