Makefile
branchwindows
changeset 349 b271be84da5e
parent 348 b155c43eaa56
--- a/Makefile	Tue Apr 03 17:35:02 2012 +0100
+++ b/Makefile	Tue Apr 03 18:44:58 2012 +0100
@@ -17,7 +17,7 @@
 setup-useradd: installfiles useradd inituser
 
 # WARNING: this is experimental
-setup-windows: installfiles adduser-windows inituser-windows
+setup-windows: installfiles adduser-windows
 
 installetc:
 	$(INSTALL) -d $(DESTDIR)$(ETCDIR)
@@ -76,6 +76,7 @@
 # WARNING: this is experimental
 inituser-windows:
 	mkdir /home/$(NEWUSER)
+	chown $(NEWUSER) /home/$(NEWUSER)
 	chmod 755 $(DESTDIR)$(LIBDIR)/init/*
 	ssh $(NEWUSER)@localhost "sh $(DESTDIR)$(LIBDIR)/init/hginit $(DESTDIR)$(LIBDIR)"