⟩ The file fs/sysfs/sysfs.h contains the a) internal header files for sysfs b) function definitions shared locally among the sysfs source c) both (a) and (b) d) none of the mentioned
c) both (a) and (b)
c) both (a) and (b)
Given the command $ chmod o-w datafile a) sets write permission to everyone for datafile b) sets write permission to others for datafile c) clears write permission to everyone for datafile d) clears write permission to others for datafile
Which make command option ignores all errors in commands executed to remark files? a) -i b) -j c) -k d) -l
Which command is used to assign read-write permission to the owner? a) chmod a+r file b) chmod o+r file c) chmod u=rw file d) chmod og-r file
If you are a root user, how can you grand execute permission only for the owner of the file project1? a. chmod +x project1 b. chmod u+x project1 c. chmod a+x project1 d. chmod U+X project1
A user executes the following command successfully $ chmod +x file1.txt Which of the following is true of the output of this command? a) The command results in adding execute permission to the user who ran this command b) The command results in adding execute permission for the owner of the file c) The command results in an error since the file is not an executable file d) The command results in adding execute permission for all users (i.e., user,group & others)
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? a) chmod 046 textfile b) chmod 640 textfile c) chmod 310 textfile d) chmod rw r nil textfile
What does chmod +t do? a) wrong syntax b) set effective userid for filename c) set effective groupid for filename d) set the sticky bit
The command chmod 4777 a.out a) will set the suid bit of a.out b) will set the suid bit of a.out only if the command is issued by root c) is not a valid command d) will set the sticky bit of a.out
Which of the following umask settings allow execute permission to be set by default on regular files? a) 222 b) 111 c) 000 d) None of the given choices
Which of the following umask settings doesn't allow execute permission to be set by default on directory files? a) 222 b) 111 c) 000 d) 444