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 The last modification time of the file is updated The last change time of the file is updated None of the above Continue >> Advertisement Continue >> If the umask value is 0002. what will be the permissions of new directory 774 775 664 777 Continue >> What is the command to set the execute permissions to all the files and subdirectories within the directory /home/user1/direct chmod –R +x /home/user1/direct chmod –f –r +x /home/user1/direct chmod –F +x /home/user1/direct chmod –r +x /home/user1/direct Continue >> The permission -rwxr-xr-t represented in octal expression will be 1755 0777 1754 2754 Continue >> With a umask value of 112, what is the default permission assigned to newly created regular file? -r-xr-x-r– -rw-rw-r– —x–x-wx -rw-rw-r– Continue >> Which command is used to assign read-write permission to the owner? chmod o+r file chmod a+r file chmod u=rw file chmod og-r file Continue >> Given the command $ chmod o-w datafile clears write permission to others for datafile sets write permission to others for datafile clears write permission to everyone for datafile sets 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 310 textfile chmod 640 textfile chmod rw r nil textfile chmod 046 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 a+x project1 chmod U+X project chmod +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 to the user who ran this command The command results in adding execute permission for the owner of the file The command results in an error since the file is not an executable file The command results in adding execute permission for all users (i.e., user,group & others) 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 !