Use umask(077), mainly to secure hashcat.pot from reading from other users, but should be a good idea for all files. See https://github.com/hashcat/oclHashcat/issues/331 for details

pull/346/head
Jens Steube 8 years ago
parent 9e92c9c4d9
commit f5ee678bbe

@ -5251,6 +5251,8 @@ int main (int argc, char **argv)
if (getenv ("POCL_KERNEL_CACHE") == NULL)
putenv ((char *) "POCL_KERNEL_CACHE=0");
umask (077);
/**
* Real init
*/

Loading…
Cancel
Save