Change umask

This commit is contained in:
topjohnwu 2017-04-24 21:28:25 +08:00
parent 977c049875
commit a0de3fc643

2
su.c
View File

@ -214,7 +214,7 @@ int su_daemon_main(int argc, char **argv) {
.database_path = APPLICATION_DATA_PATH REQUESTOR_DATABASE_PATH,
.base_path = APPLICATION_DATA_PATH REQUESTOR
},
.umask = umask(022),
.umask = 022,
};
su_ctx = &ctx;