Umask difference between 0022 and 022 [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Is there any difference between umask 0022 and 022 ? I want to change my umask to 022 . How can I do it? 回答1: There is no difference between umask 0022 and umask 022 . The octal umasks are calculated via the bitwise AND of the unary complement of the argument using bitwise NOT. Set the umask like this: el@apollo