Browse Source

lib/scanner: Track modified by in symlinks (#4777)

Audrius Butkevicius 7 years ago
parent
commit
8df90bb475
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/scanner/walk.go

+ 1 - 0
lib/scanner/walk.go

@@ -390,6 +390,7 @@ func (w *walker) walkSymlink(ctx context.Context, relPath string, dchan chan pro
 		Version:       cf.Version.Update(w.ShortID),
 		NoPermissions: true, // Symlinks don't have permissions of their own
 		SymlinkTarget: target,
+		ModifiedBy:    w.ShortID,
 	}
 
 	if ok {