What does os.fchmod(fd, mode) do?
A. change permission bits of the file
B. change permission bits of the directory
C. change permission bits of either the file or the directory
D. none of the mentioned
Answer:A
What does os.fchmod(fd, mode) do?
A. change permission bits of the file B. change permission bits of the directory C. change permission bits of either the file or the directory D. none of the mentioned
Explanation: The arguments to the function are a file descriptor and the new mode.