File glusterfs-1.3.10-buildfix.patch of Package glusterfs

diff -ur glusterfs-1.3.10.orig/xlators/protocol/server/src/server-protocol.c glusterfs-1.3.10/xlators/protocol/server/src/server-protocol.c
--- glusterfs-1.3.10.orig/xlators/protocol/server/src/server-protocol.c	2008-06-12 15:51:19.000000000 -0400
+++ glusterfs-1.3.10/xlators/protocol/server/src/server-protocol.c	2008-08-04 11:40:24.000000000 -0400
@@ -5353,7 +5353,7 @@
     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;