.
D 2023-04-05T18:01:59.610
J assignee nobody
J closer nobody
J cmimetype text/html
J comment In\s<tt>unix/tclUnixFCmd.c</tt>\sthe\sfollowing\scode\sis\sused\sto\sdetermine\sthe\sprocess's\scurrent\s"umask":\r\n<blockquote>\r\n<pre>\r\nmode\s=\sumask(0);\r\numask(mode)\r\n</pre>\r\n</blockquote>\r\nIn\sthe\s(usually\sminiscule)\speriod\sbetween\sthe\stwo\scalls,\sthe\sumask\sis\stemporarily\sset\sto\s0\swhich\sresults\sin\s<i>elevated\spermissions</i>\sfor\snewly\screated\sfiles\sat\sthat\spoint.\s\r\n\r\nAs\snoted\sin\s<a\shref="https://man7.org/linux/man-pages/man2/umask.2.html">the\sumask\sman\spage</a>\sfor\smodern\sLinux\ssystems\swith\sa\s/proc\sfilesystem\sthere\sis\sa\sbetter\sway\sto\sdetermine\sthe\sumask.\sIt\smight\smake\ssense\sto\suse\sthis\swhen\savailable.
J foundin 8.6.12
J is_private 0
J login christian.nassau
J priority 5\sMedium
J private_contact 3b279cda57135cd36d2c32c66396637342913651
J resolution None
J severity Important
J status Open
J submitter christian.nassau
J subsystem 16.\sCommands\sA-H
J title directory\screation\stemporarily\schanges\sthe\sumask
J type Bug
K cd609219f5522f3191a68a84deb51a968dfb8cac
U christian.nassau
Z c6d015934ecd58f15de30ffa6c82a22b