July2016 cs Q69

0. In Unix, files can be protected by assigning each one a 9-bit mode called rights bits. Now, consider the following two statements:
I. A mode of 641 (octal) means that the owner can read and write the file, other members of the owner’s group can read it, and users can execute only.
II. A mode of 100 (octal) allows the owner to execute the file, but prohibits all other access.
Which of the following options is correct with reference to above statements ?

  • Option : C
  • Explanation :
    In Unix:
  • Files can be protected by assigning each one a 9-bit mode called rights bits.
  • A mode of 641 (octal) means that the owner can read and write the file, other members of the owner’s group can read it, and users can execute only.
  • A mode of 100 (octal) allows the owner to execute the file, but prohibits all other access.
  • Both statement are correct regarding to UNIX. So, option (C) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *