don't bind nonexisting directories
raise AttachError if exec in init fails