diff --git a/server/filesystem/filesystem.go b/server/filesystem/filesystem.go index 376b7f9..a23367b 100644 --- a/server/filesystem/filesystem.go +++ b/server/filesystem/filesystem.go @@ -117,7 +117,6 @@ func (fs *Filesystem) Touch(p string, flag int) (*os.File, error) { if err != nil { return nil, errors.Wrap(err, "server/filesystem: touch: failed to open file with wait") } - _ = f.Close() _ = fs.Chown(cleaned) return f, nil }