From d8fd55621948d151f8e84bfb55e5882d8ac62969 Mon Sep 17 00:00:00 2001 From: brl Date: Thu, 25 Jun 2015 13:26:20 -0400 Subject: [PATCH] should use BindOrCreate here --- oz-init/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oz-init/init.go b/oz-init/init.go index 25a8d76..da2a826 100644 --- a/oz-init/init.go +++ b/oz-init/init.go @@ -554,7 +554,7 @@ func (st *initState) bindWhitelist(fsys *fs.Filesystem, wlist []oz.WhitelistItem return err } for _, p := range paths { - if err := fsys.BindPath(p, p, wl.ReadOnly); err != nil { + if err := fsys.BindOrCreate(p, p, wl.ReadOnly,st.user); err != nil { return err } }