13 lines
637 B
Diff
13 lines
637 B
Diff
diff -Naupr glusterfs-1.3.7.orig/xlators/protocol/server/src/server-protocol.c glusterfs-1.3.7/xlators/protocol/server/src/server-protocol.c
|
|
--- glusterfs-1.3.7.orig/xlators/protocol/server/src/server-protocol.c 2007-10-16 09:37:00.000000000 +0200
|
|
+++ glusterfs-1.3.7/xlators/protocol/server/src/server-protocol.c 2007-11-26 11:49:05.000000000 +0100
|
|
@@ -4930,7 +4930,7 @@ mop_setspec (call_frame_t *frame,
|
|
goto fail;
|
|
}
|
|
|
|
- ret = open (GLUSTERFSD_SPEC_PATH, O_WRONLY | O_CREAT | O_SYNC);
|
|
+ ret = open (GLUSTERFSD_SPEC_PATH, O_WRONLY | O_CREAT | O_SYNC, 0644);
|
|
spec_fd = ret;
|
|
if (spec_fd < 0){
|
|
remote_errno = errno;
|