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

RFC: prevent MFS write to /ipfs at root #2

Open
alanshaw opened this issue Oct 22, 2018 · 1 comment
Open

RFC: prevent MFS write to /ipfs at root #2

alanshaw opened this issue Oct 22, 2018 · 1 comment

Comments

@alanshaw
Copy link
Member

alanshaw commented Oct 22, 2018

cp and ls have the issue of not being able to distinguish between an IPFS path and an MFS path.

If we prevent any writes (including cp, mv etc.) to /ipfs there will never be any data at /ipfs to cp or ls from and we avoid the issue of having to distinguish i.e. if it begins with /ipfs then it's an IPFS path, since no writes can go to /ipfs in MFS.

@olizilla
Copy link
Member

olizilla commented Oct 25, 2018

I read "restrict to" as "only allow to". I think this would make more sense as Prevent MFS write to /ipfs

@alanshaw alanshaw changed the title RFC: restrict MFS write to /ipfs at root RFC: prevent MFS write to /ipfs at root Nov 6, 2018
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

No branches or pull requests

2 participants