Error when trying to create hard link for a directory "hard link not allowed for directory" - step 12 from Chapter 03 S11 "Manage files from command line"
The lab asks you to create season1_project_plan.odf and season2_project_plan.odf as empty files, not directories. Fix this and the ln command will work as expected.
You can't create hard links to directories (the main reason being it could create a filesystem loop if you hardlink a directory to one of its parent directories).
The lab asks you to create season1_project_plan.odf and season2_project_plan.odf as empty files, not directories. Fix this and the ln command will work as expected.
You can't create hard links to directories (the main reason being it could create a filesystem loop if you hardlink a directory to one of its parent directories).
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.