adplus-dvertising
frame-decoration

Question

Which of the following is used with access call for checking the owner’s permissions?

a.

R_OK

b.

W_OK

c.

X_OK

d.

R_OK, W_OK, X_OK

Posted under UNIX

Answer: (d).R_OK, W_OK, X_OK

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is used with access call for checking the owner’s permissions?

Similar Questions

Discover Related MCQs

Q. For checking a file access rights, ___ system call is used.

Q. Which of the following macro returns true if the file type is a directory?

Q. S_IFxxx macros are used for checking the file types.

Q. ____ system call is used for renaming a file, directory or symbolic link.

Q. For removing a link, ____ is used.

Q. For creating a hard and symbolic link, which system calls are used?

Q. A super user can use ___ call for creating a directory.

Q. For creating and removing directories, which of the following system calls are used?

Q. Directories can also be opened, read and written in the same way as regular files.

Q. Which of the following system calls performs the action of cd command?

Q. The vnode table is also called _____

Q. The file table contains _________

Q. The file descriptor table contains all file descriptors for a process.

Q. How many data structures does the kernel maintain in memory that contain information about an open file?

Q. Which of the following is not a valid symbolic constant?

Q. What is the symbolic constant for errno 2?

Q. What is the significance of errno 13?

Q. perror also uses error number to print the error messages.

Q. Which library function is used for printing error messages?

Q. -ok option is used with find command for seeking information before taking the action specified.