Reinstate ignore permissions

This commit is contained in:
Jakob Borg
2014-10-10 00:34:32 +02:00
parent 6e670a2499
commit 41e20bb6b7
2 changed files with 32 additions and 21 deletions

View File

@@ -167,10 +167,11 @@ func (m *Model) StartFolderRW(folder string) {
panic("cannot start already running folder " + folder)
}
p := &Puller{
folder: folder,
dir: cfg.Path,
scanIntv: time.Duration(cfg.RescanIntervalS) * time.Second,
model: m,
folder: folder,
dir: cfg.Path,
scanIntv: time.Duration(cfg.RescanIntervalS) * time.Second,
model: m,
ignorePerms: cfg.IgnorePerms,
}
m.folderRunners[folder] = p
m.fmut.Unlock()