1.

chmod and fchmod calls are used for changing file permissions.(a) True(b) FalseThis question was addressed to me in an internship interview.Enquiry is from File Handling System Calls in portion System Programming I – Files of Unix

Answer»

Right answer is (a) True

To explain I would say: chmod and fchmod calls are USED for CHANGING the file PERMISSIONS. Chmod uses pathname for IDENTIFYING a file while fchmod uses the file descriptor.



Discussion

No Comment Found

Related InterviewSolutions