JAWABAN NDG LINUX CHAPTER 15 - CHAPTER 16
WRONG - See section 15.7.2
Which of the following commands set "other" permissions on file to r-x?
CORRECT - See section 15.7.3
Which of the following commands sets "other" permissions on file to r-x?
- chmod 775 file
CORRECT - See section 15.7.2
Only one set (user, group, other) of permission can be changed at once using the symbolic method.
- False
WRONG - See section 15.2
The
chgrp
command can be used to change the owner and group of a file.- True
CORRECT - See section 15.7.3
Octal notation uses the following values for the permissions granted:
- r = 4, w = 2, x = 1
CORRECT - See section 15.7
Which of the following permissions would allow all users to add, view, and delete files in a directory?
- 777
CORRECT - See section 15.5
The
chgrp
command can be used on a file by:- The file owner and root
CORRECT - See section 15.6
The
chown
command can be used to change the user owner on a file by:- Only root
CORRECT - See section 15.9
The "execute" permission is never set on files by default.
- True
CORRECT - See section 15.7
The user owner of a file will always have the same or higher permissions as "other".
- False
JAwaban lain ada DISINI
Chapter16
CORRECT - See section 16.9
CORRECT - See section 16.7
CORRECT - See section 16.7
CORRECT - See section 16.3
CORRECT - See section 16.6
CORRECT - See section 16.5
CORRECT - See section 16.8.3
WRONG - See section 16.8.3
CORRECT - See section 16.8.1
CORRECT - See section 16.8.2
The /tmp directory is a temporary directory and will not exist on a system at all times.
- False
CORRECT - See section 16.7
The "sticky bit" permission...
- ...prevents others from removing files they don't own from a common directory.
CORRECT - See section 16.7
Which of the following commands will set the "sticky bit" on /shared ?
- chmod 1777 /shared
CORRECT - See section 16.3
The "setuid" permission...
- ...allows a command to be run as the file owner.
CORRECT - See section 16.6
Which of the following commands will set setgid on /shared ?
- chmod 2777 /shared
CORRECT - See section 16.5
Setting setgid on a directory...
- ...will set the group owner of all files created in the directory to the group owner of the directory.
CORRECT - See section 16.8.3
Deleting a source file will break an associated hard link.
- False
WRONG - See section 16.8.3
A source file and a symbolic link must be part of the same file system.
- True
CORRECT - See section 16.8.1
Which of the following commands would create a hard link, link to file?
- ln file link
CORRECT - See section 16.8.2
Which of the following commands would create a symbolic link, link to file?
- ln -s file link
0 komentar