diff options
author | Susant Palai <spalai@redhat.com> | 2014-06-30 14:04:34 -0400 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-06-01 22:53:55 -0700 |
commit | 010da8e41edc510c4c0236a4ec23e9e628faebe7 (patch) | |
tree | 1119abb7bdf622870cad75ecf7e8ee4799951f20 /cli | |
parent | f3a340694fcb195aa8b546578c348b41fb2208d1 (diff) |
DHT/permissoin: Let setattr consume stat built from lookup in heal path
setattr call post mkdir(selfheal) ends up using the mode bits
returned by mkdir,which miss the required suid, sgid and sticky bit.
Hence, the fix is to use the mode bits from local->stbuf which was used
to create the missing directories.
Change-Id: I478708c80e28edc6509b784b0ad83952fc074a5b
BUG: 1110262
Signed-off-by: Susant Palai <spalai@redhat.com>
Reviewed-on: http://review.gluster.org/8208
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions