diff options
author | Aravinda VK <avishwan@redhat.com> | 2014-06-05 11:12:22 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2014-11-13 02:12:01 -0800 |
commit | 6686deb9058ec62721868dd4e9f35a9245b9b5c7 (patch) | |
tree | f00ddef8f9382c77da9eb2cdc49a3e8db82a156c /geo-replication | |
parent | b20e6bcce248c286a6bfe6d540905dfc358dbc07 (diff) |
geo-rep: gid is not set in entry ops
uid is sent in place of gid while CREATE and
MKDIR.
BUG: 1159213
Change-Id: I711f383cef9de7467df9e60774d880eb5e1a642a
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/7984
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Venky Shankar <vshankar@redhat.com>
Reviewed-on: http://review.gluster.org/9027
Diffstat (limited to 'geo-replication')
-rw-r--r-- | geo-replication/syncdaemon/resource.py | 4 |
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) |