mount: hide /etc folder also from mount
This commit is contained in:
@@ -43,5 +43,5 @@ func EnsureVisited(mc *MetaCache, client filer_pb.FilerClient, dirPath util.Full
|
|||||||
}
|
}
|
||||||
|
|
||||||
func IsHiddenSystemEntry(dir, name string) bool {
|
func IsHiddenSystemEntry(dir, name string) bool {
|
||||||
return dir == "/" && name == "topics"
|
return dir == "/" && (name == "topics" || name == "etc")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user