Skip to content

Commit

Permalink
fix home creation
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic committed Jan 7, 2021
1 parent 0f14362 commit 763de06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/storage/fs/ocis/ocis.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ func (fs *ocisfs) CreateHome(ctx context.Context) (err error) {
return nil
})

// update the owner
u := user.ContextMustGetUser(ctx)
h.writeMetadata(u.Id)

if fs.o.TreeTimeAccounting {
homePath := h.lu.toInternalPath(h.ID)
// mark the home node as the end of propagation
Expand Down

0 comments on commit 763de06

Please sign in to comment.