exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 13 discussion

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

Which of the following permissions are set on the /tmp/ directory?

  • A. rwxrwxrwt
  • B. ------rwX
  • C. rwSrw-rw-
  • D. rwxrwS---
  • E. r-xr-X--t
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Sreejit123
Highly Voted 2 years, 9 months ago
r=read, w=write, x=execute, t=?
upvoted 5 times
zahiton
7 months, 1 week ago
T, I guess stands for temporaly
upvoted 1 times
...
AaronHan
2 years, 7 months ago
"t" means that the file is sticky, which means the file can be deleted only by the owner/root.
upvoted 15 times
...
...
chupapi_001
Most Recent 3 months, 3 weeks ago
Selected Answer: A
Structure of the permission string: rwx | rwx | rwt (User) (Group) (Others) Breakdown of permissions: r (read): Allows listing the contents of the directory w (write): Allows creating, deleting, or renaming files in the directory x (execute): Allows entering the directory and accessing its contents t (sticky bit): Special permission for the "others" category Meaning for each category: User (owner): rwx (full permissions) Group: rwx (full permissions) Others: rwt (read, write, execute, plus sticky bit) The sticky bit (t): This is the key feature of /tmp/ permissions It allows users to create files, but only delete or modify their own files Prevents users from deleting or renaming each other's files Crucial for a shared temporary directory like /tmp/ Why these permissions are used for /tmp/: Allows all users to create temporary files (/tmp/ is world-writable) Provides security by preventing users from interfering with each other's files Maintains the purpose of /tmp/ as a shared, temporary storage space
upvoted 3 times
...
Vovanich
1 year, 11 months ago
Selected Answer: A
A. rwxrwxrwt
upvoted 2 times
...
shimij1000
2 years, 1 month ago
Selected Answer: A
a is the answer
upvoted 1 times
...
linvidia
2 years, 1 month ago
Selected Answer: A
drwxrwxrwt. 13 root root 260 1 Jan 17.56 tmp
upvoted 1 times
...
beazzlebub
3 years, 4 months ago
Answer is A
upvoted 1 times
...
Doksy
3 years, 5 months ago
It's full control but just to the files that made by me and not by other users.
upvoted 4 times
...
joeyy
3 years, 6 months ago
correct. they sticky bit
upvoted 2 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 ...