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
This commit is contained in:
Axel Dörfler 2005-02-02 15:34:10 +00:00
parent ceba21721e
commit 2ee2b3d742
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@
#include <syscalls.h>
mode_t __gUmask = S_IUMSK;
mode_t __gUmask = 022;
// this is the standard umask and is used by BFile
enum {
FD_TYPE_UNKNOWN,