Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 1 Question 125 Discussion

You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
E) The source and the target are on different filesystems.
A) The source file is hidden.
B) The source file is read-only.
C) The source file is a shell script.
D) You do not own the source file.

LPI 101-500 Exam - Topic 1 Question 125 Discussion

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

You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?

Show Suggested Answer Hide Answer
Suggested Answer: E

Contribute your Thoughts:

0/2000 characters
Ammie
1 day ago
I think E is the main reason. Different filesystems can't link.
upvoted 0 times
...
Launa
6 days ago
A and C don't affect hard links, just FYI.
upvoted 0 times
...
Salome
12 days ago
Wait, can you really not link hidden files?
upvoted 0 times
...
Hildegarde
17 days ago
D makes sense, ownership matters for hard links.
upvoted 0 times
...
Lettie
22 days ago
I thought read-only files could still be linked?
upvoted 0 times
...
Linwood
27 days ago
E is definitely a reason, can't link across filesystems.
upvoted 0 times
...
Rasheeda
1 month ago
I remember reading that hidden files don't affect linking, so I doubt option A is the cause. But I could be wrong!
upvoted 0 times
...
Maile
3 months ago
I practiced a question similar to this, and I think a read-only file shouldn't cause an issue. So, I’m leaning towards option E or D.
upvoted 0 times
...
Lorita
3 months ago
I'm not entirely sure, but I feel like ownership might play a role here. If I don't own the source file, maybe that's why ln fails?
upvoted 0 times
...
Rodrigo
3 months ago
I think the error could be related to the files being on different filesystems, like option E. I remember something about that in class.
upvoted 0 times
...

Save Cancel