It is not possible to set the sticky bit of a file when creating it. Therefore it is necessary to create the directory and then set the sticky bit by executing: mkdir(???/tmp/dir??? - 0744); chmod(???/tmp/dir??? - 07744). Why?

🎲 Try a Random Question  |  Total Questions in Quiz: 84  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
System Programming Fundamentals Test 2 — practice the complete quiz, review flashcards, or try a random question.


It is not possible to set the sticky bit of a file when creating it. Therefore it is necessary to create the directory and then set the sticky bit by executing: mkdir(???/tmp/dir??? - 0744); chmod(???/tmp/dir??? - 07744). Why?