summaryrefslogtreecommitdiffstats
path: root/xlators/features/shard
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-07-27 12:30:19 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-07-30 00:27:10 -0700
commitb467af0e99b39ef708420d3f7f6696b0ca618512 (patch)
tree633944b28b6d4e3e885b359af34b7ae6dda037d0 /xlators/features/shard
parentde3023c8b5ded9c82414eec153fc660f568b688e (diff)
features/shard: Create /.shard with 0777 permissions (for now)
Change-Id: I4e5692f06a189230825f0aeb6487b103bfb66fe1 BUG: 1247108 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/11791 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/features/shard')
-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;