summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-07-27 12:30:19 +0530
committerVijay Bellur <vbellur@redhat.com>2015-08-05 11:33:41 -0700
commit0459bca39f00b7ac9f6d661c049cba03179efeff (patch)
treec57b45f57142442c8bd41ed19fe4f7519ffca3b9 /xlators
parentca5b466dcabc8432f68f2cf7a24fae770ad1c0cf (diff)
features/shard: Create /.shard with 0777 permissions (for now)
Backport of: http://review.gluster.org/11791 Change-Id: I45d5cd696ed531ab900cb2bbb95cd8e3f4c1cb21 BUG: 1247833 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/11802 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/shard/src/shard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c
index 96c06b1aeb9..4284ad679ef 100644
--- a/xlators/features/shard/src/shard.c
+++ b/xlators/features/shard/src/shard.c
@@ -3184,7 +3184,7 @@ shard_writev_mkdir_dot_shard (call_frame_t *frame, xlator_t *this)
STACK_WIND (frame, shard_writev_mkdir_dot_shard_cbk, FIRST_CHILD(this),
FIRST_CHILD(this)->fops->mkdir, &local->dot_shard_loc,
- 0755, 0, xattr_req);
+ 0777, 0, xattr_req);
dict_unref (xattr_req);
return 0;