Linux File Permissions Flashcard

Linux File Permissions Flashcard

Assessment

Flashcard

Computers

University

Hard

Created by

Quizizz Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

8 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What command is used to change the permissions of a file in Linux?

Back

chmod

2.

FLASHCARD QUESTION

Front

What does the permission rwxr-xr-- mean?

Back

Owner can read, write, and execute; group can read and execute; others can read

3.

FLASHCARD QUESTION

Front

What is the effect of the command chmod 400 file.txt?

Back

Only the owner can read the file

4.

FLASHCARD QUESTION

Front

Which permission value represents read, write, and execute for the owner, and read and execute for both the group and others? Options: 777, 755, 644, 744

Back

755

5.

FLASHCARD QUESTION

Front

What does the command chmod +x script.sh do?

Back

Adds execute permission for all users

6.

FLASHCARD QUESTION

Front

What does the permission rw-r----- indicate?

Back

Owner can read and write; group can read; others have no permission

7.

FLASHCARD QUESTION

Front

Which command sets read, write, and execute permissions for the owner, and only read permissions for the group and others on a file? Options: chmod 755 file.txt, chmod 777 file.txt, chmod 744 file.txt, chmod 644 file.txt

Back

chmod 744 file.txt

8.

FLASHCARD QUESTION

Front

Which of the following is true about the chmod command? chmod 777 gives all users full permissions (read, write, and execute), chmod 644 gives the owner full permissions and read-only permissions for group and others, chmod 000 allows all users to read and write the file, chmod 444 allows only the owner to read the file

Back

chmod 777 gives all users full permissions (read, write, and execute)