1.

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 mentionedThe question was asked in semester exam.The above asked question is from Operating System topic in section Mapping Functions and Modules of Python

Answer» CORRECT option is (a) change PERMISSION bits of the FILE

The BEST explanation: The arguments to the function are a file DESCRIPTOR and the new mode.


Discussion

No Comment Found

Related InterviewSolutions