diff --git a/b2/b2.go b/b2/b2.go index 152c8fddf..80504ab2b 100644 --- a/b2/b2.go +++ b/b2/b2.go @@ -1392,7 +1392,7 @@ func (o *Object) Remove() error { return errNotWithVersions } if *b2HardDelete { - return o.fs.deleteByID(o.id, o.remote) + return o.fs.deleteByID(o.id, o.fs.root+o.remote) } return o.fs.hide(o.fs.root + o.remote) }