come-maiz / ipfs-snap

IPFS packaged as a snap
MIT License
21 stars 6 forks source link

Document IPFS storage location #14

Open abitrolly opened 6 years ago

abitrolly commented 6 years ago

There is no Datastore.Path in ipfs config show as described in the last step of this tutorial:

https://flyingzumwalt.gitbooks.io/decentralized-web-primer/install-ipfs/lessons/initialize-repository.html

I'd like to see all files that are served by my node.

abitrolly commented 6 years ago

Found some files in:

ls -la ~/snap/ipfs/current/.ipfs

Maybe gitbooks should be updated?

come-maiz commented 5 years ago

@abitrolly that document doesn't install the IPFS snap.

abitrolly commented 5 years ago

@elopio yes, it doesn't. Bit shouldn't snap behaviour be the same for user regardless of installation method? At least when it is about user data.

mkg20001 commented 5 years ago

@abitrolly Problem is that snaps can't access dotfiles outside their own data directory, so even with the home permission the snap couldn't access $HOME/.ipfs

come-maiz commented 5 years ago

@abitrolly I would say no. snap is a new technology that's trying to implement safer ways to share files between apps. It's impossible to implement that change while preserving the past behavior. But this should be discussed https://forum.snapcraft.io/

abitrolly commented 5 years ago

Is it possible to patch ipfs to give correct info on Datastore.Path in ipfs config show?

Interesting if it is possible to extract Datastore.Path with a single command. Filled https://github.com/ipfs/go-ipfs/issues/5603 for that.

jcalfee commented 5 years ago

Where is ipfs add <path> looking?