exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 11 discussion

Actual exam question from LPI's 010-160
Question #: 11
Topic #: 1
[All 010-160 Questions]

Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?

  • A. drw-r-xr--
  • B. d-wxr-x--
  • C. -wxr-x--x
  • D. -rwxrw---x
  • E. -rw-r-xr--
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vuonganhkhang
Highly Voted 2 years ago
E. -rw-r-xr-- -> equal 645 not 654
upvoted 9 times
aliulight
1 month ago
eaxctly my point
upvoted 1 times
...
...
Cert2022
Highly Voted 2 years ago
rw = Read & Write for Owner r-x = Read & Execute for Group r = Only read for others
upvoted 6 times
...
ter170107
Most Recent 3 months, 3 weeks ago
4 = r 2 = w 1= x (-) Regular file rw = 4+2 = 6 r-x = 4+1 = 5 r-- = 4+0 = 4
upvoted 1 times
...
kuzummjakk
1 year, 2 months ago
654 is correct. Just did it in a terminal and got -rw-r-x-r--
upvoted 2 times
...
Kels
1 year, 4 months ago
It’s a file so immediately look for (-) at the beginning. (d) is a directory and (l) is symbolic link.
upvoted 3 times
...
scottmr
1 year, 9 months ago
The question is worded incorrectly it SHOULD be 645; but getting that corrected is a whole other issue I guess. 0: (000) No permission. 1: (001) Execute permission. 2: (010) Write permission. 3: (011) Write and execute permissions. 4: (100) Read permission. 5: (101) Read and execute permissions. 6: (110) Read and write permissions. 7: (111) Read, write, and execute permissions.
upvoted 6 times
...
Vovanich
1 year, 11 months ago
E. -rw-r-xr--
upvoted 1 times
...
POGActual
1 year, 11 months ago
E -rw-r-xr-- is correct. If this were asking about a directory, then 'A' would be the correct answer as the 'd' at the beginning of the permissions string denotes Directory.
upvoted 1 times
...
linvidia
2 years, 1 month ago
Selected Answer: E
user = rw group=r-x others=r
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...