LPI Exam Questions

Which of the following could cause this?

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

A.
The source file is hidden.

B.
The source file isreadonly.

C.
The source file is a shell script.

D.
You do not own the source file.

E.
The source and the target are on different filesystems.

Explanation:
Hardlinks share the same inode, that is only possible on the same partition.