From 6ce05b615ba10471d9fd16e401c150409167230b Mon Sep 17 00:00:00 2001 From: prabatuty Date: Thu, 5 Nov 2009 14:48:53 +0000 Subject: [PATCH] changing file creation mode from 777 to 644 --- src/storage/os.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/os.cxx b/src/storage/os.cxx index a8335bc3..ae3c7126 100644 --- a/src/storage/os.cxx +++ b/src/storage/os.cxx @@ -77,7 +77,7 @@ int os::openFile(const char *name, FileOpenMode flags, size_t size) int retval = -1; //mode_t mode = S_IRWXU | S_IRGRP | S_IWGRP ; mode_t oldMode = umask(0000); - mode_t mode = (mode_t)0777 ; + mode_t mode = (mode_t)0644 ; retval=::open(name, flags, mode); umask(oldMode); if (0 == size) -- 2.11.4.GIT