Engineering Computer Science And Engineering Linux Questions and Answers Basic Linux MCQ Section-12 A user does a chmod operation on a file. Which of the following is true? The last accessed time of the file is updated None of the above The last modification time of the file is updated The last change time of the file is updated Continue >> Advertisement Continue >> If the umask value is 0002. what will be the permissions of new directory 664 777 774 775 Continue >> What is the command to set the execute permissions to all the files and subdirectories within the directory /home/user1/direct chmod –F +x /home/user1/direct chmod –r +x /home/user1/direct chmod –f –r +x /home/user1/direct chmod –R +x /home/user1/direct Continue >> The permission -rwxr-xr-t represented in octal expression will be 1754 1755 2754 0777 Continue >> With a umask value of 112, what is the default permission assigned to newly created regular file? -rw-rw-r– -rw-rw-r– -r-xr-x-r– —x–x-wx Continue >> Which command is used to assign read-write permission to the owner? chmod o+r file chmod og-r file chmod u=rw file chmod a+r file Continue >> Given the command $ chmod o-w datafile sets write permission to everyone for datafile clears write permission to others for datafile sets write permission to others for datafile clears write permission to everyone for datafile Continue >> Which of these commands will set the permissions on file textfile to read and write for the owner, read for the group, and nothing for everyone else? chmod 046 textfile chmod 640 textfile chmod 310 textfile chmod rw r nil textfile Continue >> If you are a root user, how can you grand execute permission only for the owner of the file project1? chmod u+x project1 chmod +x project1 chmod U+X project chmod a+x project1 Continue >> A user executes the following command successfully: $ chmod +x file1.txt Which of the following is true of the output of this command? The command results in adding execute permission for the owner of the file The command results in adding execute permission for all users (i.e., user,group & others) The command results in an error since the file is not an executable file The command results in adding execute permission to the user who ran this command Continue >> Just tell us who you are to view your results ! Your first name : Your email address : Show my results >> Please share this quiz to view your results. Facebook PLAY AGAIN !