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:
@@ -17,7 +17,9 @@
|
|||||||
|
|
||||||
#include <syscalls.h>
|
#include <syscalls.h>
|
||||||
|
|
||||||
mode_t __gUmask = S_IUMSK;
|
|
||||||
|
mode_t __gUmask = 022;
|
||||||
|
// this is the standard umask and is used by BFile
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
FD_TYPE_UNKNOWN,
|
FD_TYPE_UNKNOWN,
|
||||||
|
|||||||
Reference in New Issue
Block a user