From 65494a3a112e9087a2a4191fd0bacb74c699a816 Mon Sep 17 00:00:00 2001
From: Antoine Catton <acatton@tiolive.com>
Date: Wed, 27 Jul 2011 10:29:54 +0200
Subject: [PATCH] Minor: I forgot to get the owner of instance

---
 slapos/grid/slapgrid.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/slapos/grid/slapgrid.py b/slapos/grid/slapgrid.py
index f1c855b1a..83d41a9a2 100644
--- a/slapos/grid/slapgrid.py
+++ b/slapos/grid/slapgrid.py
@@ -555,6 +555,7 @@ class Slapgrid(object):
 
         uid, gid = None, None
         stat_info = os.stat(instance_path)
+        uid, gid = stat_info.st_uid, stat_info.st_gid
 
         kw = dict()
         if not self.console:
-- 
2.30.9