exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 78 discussion

Actual exam question from LPI's 101-500
Question #: 78
Topic #: 1
[All 101-500 Questions]

Running chmod 640 filea.txt as a regular user doesn't update filea.txt's permission. What might be a reason why chmod cannot modify the permissions? (Choose two.)

  • A. filea.txt is owned by another user and a regular user cannot change the permissions of another user's file.
  • B. filea.txt is a symbolic link whose permissions are a fixed value which cannot be charged.
  • C. filea.txt has the sticky bit set and a regular user cannot remove this permission.
  • D. filea.txt is a hard link whose permissions are inherited from the target and cannot be set directly.
  • E. filea.txt has the SetUID bit set which imposes the restriction that only the root user can make changes to the file.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
MIU
Highly Voted 1 year, 7 months ago
filea.txt is a symbolic link whose permissions are a fixed value which cannot be cha"N"ged.
upvoted 7 times
...
KiddyLitty
Most Recent 3 months ago
Selected Answer: AB
A, B is correct bcos you cannot change permission of softlink/symbolic link.
upvoted 1 times
...
Lazylinux
3 months, 1 week ago
Selected Answer: AB
Is correct answer
upvoted 1 times
...
Sloop93
3 months, 2 weeks ago
Selected Answer: AB
are correct
upvoted 1 times
...
toni23
5 months, 1 week ago
Selected Answer: AB
you can change the permissions on a hard link file without issues due it will be change the permissions in the original source too. You cannot change the permissions on symbolic inks due all is under 777
upvoted 4 times
...
minhng99
6 months, 2 weeks ago
Selected Answer: AD
Wait, isn't D is more correct? A hardlink permission is inherited and cannot be changed by anyone else but root/owner
upvoted 1 times
...
Robert12
1 year, 3 months ago
A Sticky bit is a permission bit that is set on a file or a directory that lets only the owner of the file/directory or the root user to delete or rename the file. No other user is given privileges to delete the file created by some other user.
upvoted 3 times
McLaba
1 year, 3 months ago
Sticky bit is just for directories
upvoted 6 times
...
...
Robert12
1 year, 3 months ago
Permissions on all hard links to the same data on disk are always identical. The same applies to attributes. That means if you change the permissions/owner/attributes on one hard link, you will immediately see the changes on all other hard links.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago