In the Comprehensive Review 1 of RH124, the lab issue is never solved. It always fails to execute that particular part. I think the backend scripts may require correction.
@KeineK03 the original issue that you reported is fixed now. You can check the same and confirm. The instruction in that exercise is now updated.
I tried to run this lab 15.2, Manage Files from the Command Line and am encountering the same error that was detailed previously, failed to execute grading/review-copy.txt file.
@CB6 did you check the below comment by Tracy ?
OK we found the answer (which will still show up in NetLab and DIY installations)...
The lab has you create the /home/dbadmin1/review after changing to the dbadmin1 user - so, naturally dbadmin1 is the user-owner.
-----
HOWEVER, the grading script expects that the student user is the user-owner, as seen here (in bold):
pad " · Evaluating the properties of review2 directory on ${targetb}"
if ${ssh} ${targetb} "ls -ld ${comp_review2_grading}/review2 | grep 'drwxrwsr-t'" &&
${ssh} ${targetb} "ls -ld ${comp_review2_grading}/review2 | grep ${comp_review2_group}" &&
${ssh} ${targetb} "ls -ld ${comp_review2_grading}/review2 | grep student"
-----
I "fix" this by telling my students that they have to make certain that the user-owner of the directory must be student before running the grading script:
Thank you for your help, I appreciate it!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.