plan9: correct create permissions with union directory

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/15360045
This commit is contained in:
Jeff Sickel 2013-10-23 10:28:28 -04:00 committed by Russ Cox
parent 9b321faae7
commit 6d86d064e5

View file

@ -65,7 +65,7 @@ from mercurial import util as hg_util
if os.sys.platform == 'plan9':
try:
import plan9
n = plan9.bind(os.path.expanduser("~/lib"), os.path.expanduser("~"), plan9.MBEFORE)
n = plan9.bind(os.path.expanduser("~/lib"), os.path.expanduser("~"), plan9.MBEFORE|plan9.MCREATE)
except ImportError:
pass