private void SetupConnector() { foreach (var volume in _volumes) { volume.ItemAttributes = new HashSet <SpecificItemAttribute>() { new SpecificItemAttribute($"{volume.RootDirectory}{volume.DirectorySeparatorChar}init") { Locked = true, Read = true, Write = false }, new SpecificItemAttribute($"{volume.RootDirectory}{volume.DirectorySeparatorChar}halo.txt") { Locked = true, Read = true, Write = false } }; _connector.AddVolume(volume); volume.Driver.AddVolume(volume); } }