From 2ee2b3d742865fe9ba42e2a7a18a8ec7a61d5f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 2 Feb 2005 15:34:10 +0000 Subject: [PATCH] umask is negated before it's applied, so S_IUMSK wouldn't quite do what you'd expect from it. Changed to the default 022. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11221 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/LibBeAdapter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kits/storage/LibBeAdapter.cpp b/src/kits/storage/LibBeAdapter.cpp index 7f0515acf4..d321f4c7a7 100644 --- a/src/kits/storage/LibBeAdapter.cpp +++ b/src/kits/storage/LibBeAdapter.cpp @@ -17,7 +17,9 @@ #include -mode_t __gUmask = S_IUMSK; + +mode_t __gUmask = 022; + // this is the standard umask and is used by BFile enum { FD_TYPE_UNKNOWN,