Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filestore: more verbose error when adding a file from outside of the root #3964

Merged
merged 1 commit into from
Jun 9, 2017

Conversation

MichaelMure
Copy link
Contributor

I got very confused by what 'ipfs root' is. Hopefully this will help the next person.

License: MIT
Signed-off-by: Michael Muré batolettre@gmail.com

…root

License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
Copy link
Member

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@whyrusleeping
Copy link
Member

Test failures appear to be unrelated.

@whyrusleeping whyrusleeping merged commit 1a1935f into ipfs:master Jun 9, 2017
@Mikaela
Copy link
Contributor

Mikaela commented Mar 19, 2019

Hi, I don't know if I am the next person, but my confusion is why I cannot ipfs add a file from a directory where everyone and everything has rw access.

Error: cannot add filestore references outside ipfs root (/home/mikaela)

@aratic
Copy link

aratic commented Jan 31, 2020

@Mikaela same glitches, i've even create soft links, complete duplicate files in specific formats potentially waste space, and not sure if there are methods to change ipfs root, some IPFS_PATH variable ?

@hsanjuan
Copy link
Contributor

@whyrusleeping @Stebalien actually I'm curious, do you know why there is this restriction?

@Stebalien
Copy link
Member

Stebalien commented Jan 31, 2020

#4224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants