Closed RubenKelevra closed 2 years ago
This is following the unix convention, we don't have an "EXCL" flag.
I think this is working as expected (alternatively we could add a "don't overwrite" flag, but that should happen in a separate enhancement issue I think). Closing for now.
Version information:
go-ipfs version: 0.4.23-6ce9a355f Repo version: 7 System version: amd64/linux Golang version: go1.14
Description:
Currently, a
files write
do rewrite a file, when--create
is set. This was quite unexpected to me, I thought--create
will make sure that if needs to create a file and won't modify an already existing one, like a write without--create
will make sure there's a file to modify and it won't create a new one.Steps to reproduce