I am testing the mkdir function to create a new directory:
mkdir
folder = mkdir(\"./linux\", 511);
or
folder = mk
Permissions set by system calls like mkdir and open are always masked against the current process's umask. You can change the current umask using the umask() function; make sure to set it back when you're done.
open
umask