Skip to content

ipfs files rm fails #7172

@Luflosi

Description

@Luflosi

Version information:

go-ipfs version: 0.4.23-6ce9a355f
Repo version: 7
System version: amd64/linux
Golang version: go1.14

Using the latest Web UI bafybeigxqbvc6qxk2wkdyzpkh7mr7zh5pxbvpjb6a6mxdtpwhlqaf4qj5a.

Description:

When adding the IGIS git repo CID to the files using the Web UI, it can never be removed again, not with the Web UI and not with the command line. At least I don't know of any obvious way to do so.

Steps to reproduce:

  1. Open the Web UI
  2. Click on "Explore" on the left
  3. Click on "IGIS git repo"
  4. Copy the CID (z8mWaJHXieAVxxLagBpdaNWFEBKVWmMiE)
  5. Click on "Files" on the left
  6. Click "Add"
  7. Click "From IPFS"
  8. Paste the CID
  9. Click "Add"
  10. An error message "Failed to add files to IPFS. Please try again." is displayed but the CID was added anyways
  11. Trying to remove the CID using the Web UI again fails
  12. Executing ipfs files rm /z8mWaJHXieAVxxLagBpdaNWFEBKVWmMiE fails with "Error: unrecognized node type in cache node"

I would expect to either be able to remove anything I added again or to not be able to add something that shouldn't be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: Likely tackled by core team if no one steps upkind/bugA bug in existing code (including security flaws)topic/MFSTopic MFS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions