summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication/syncdaemon/resource.py')
-rw-r--r--geo-replication/syncdaemon/resource.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py
index 3a3bd004e8f..1e11b980ad3 100644
--- a/geo-replication/syncdaemon/resource.py
+++ b/geo-replication/syncdaemon/resource.py
@@ -633,10 +633,10 @@ class Server(object):
break
elif op in ['CREATE', 'MKNOD']:
blob = entry_pack_reg(
- gfid, bname, e['mode'], e['uid'], e['uid'])
+ gfid, bname, e['mode'], e['uid'], e['gid'])
elif op == 'MKDIR':
blob = entry_pack_mkdir(
- gfid, bname, e['mode'], e['uid'], e['uid'])
+ gfid, bname, e['mode'], e['uid'], e['gid'])
elif op == 'LINK':
slink = os.path.join(pfx, gfid)
st = lstat(slink)