diff --git a/backend/union/union.go b/backend/union/union.go index f1922eda7..687a8496c 100644 --- a/backend/union/union.go +++ b/backend/union/union.go @@ -1020,6 +1020,9 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e } } + // Disable ListP always + features.ListP = nil + // show that we wrap other backends features.Overlay = true diff --git a/backend/union/union_test.go b/backend/union/union_test.go index b9f4e24e2..48ab82052 100644 --- a/backend/union/union_test.go +++ b/backend/union/union_test.go @@ -12,7 +12,7 @@ import ( ) var ( - unimplementableFsMethods = []string{"UnWrap", "WrapFs", "SetWrapper", "UserInfo", "Disconnect", "PublicLink", "PutUnchecked", "MergeDirs", "OpenWriterAt", "OpenChunkWriter"} + unimplementableFsMethods = []string{"UnWrap", "WrapFs", "SetWrapper", "UserInfo", "Disconnect", "PublicLink", "PutUnchecked", "MergeDirs", "OpenWriterAt", "OpenChunkWriter", "ListP"} unimplementableObjectMethods = []string{} )