cancel
Showing results for 
Search instead for 
Did you mean: 
RH124chapter11
Flight Engineer
Flight Engineer
  • 811 Views

failed massage on dev1, said"fail verifying that dev1 can create files on /home/techdocs

RH124 on the practical exercise pag 63, i always have the failed massage on dev1, said"fail verifying that dev1 can create files on /home/techdocs"

but i try to creat files with dev1, dev1 can creat files on this directory. if someone know the answer, please help me, thanks. 

RH124chapter11_0-1757930367827.png

RH124chapter11_1-1757930585286.png

 

 

 

Labels (1)
Tags (2)
18 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 173 Views

@RH124chapter11 Yes I did the lab myself and could not reproduce the issue. 

0 Kudos
RH124chapter11
Flight Engineer
Flight Engineer
  • 161 Views

Today I tried the exact solution that is provided, but the result was the same: 'Failed to verify that dev1...'. So I gave up  testing on the lab. I don't think I did anything wrong, the lab has a problem.

shashi01
Moderator
Moderator
  • 152 Views

@RH124chapter11 

We are unable to reproduce the issue on our side, as the grading script is working correctly. This suggests that something in your setup is not exactly as described in the instructions. Please double-check that you are following each step carefully, especially the file name, location, and exact content required for techdoc1.txt. Even small differences, such as missing punctuation or capitalization, can cause the grading to fail. I recommend recreating the file as the dev1 user with the correct content and then rerunning the grading command.

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 134 Views

@RH124chapter11 If the lab had an issue, I will not be able to follow the steps and have it graded all pass. 

I will still recommend you to delete your lab , recreate a fresh and just for the sake of testing do a proper  copy pasting of lab steps and see if you can get the grading all pass. 

0 Kudos
RH124chapter11
Flight Engineer
Flight Engineer
  • 43 Views

@Chetan_Tiwary_ 

I have done everything you suggested, but the problem remains the same.

0 Kudos
Andrew
Flight Engineer
Flight Engineer
  • 55 Views

Revisited this, as 2 weeks ago, my class of ~10 students had ~4 who had this problem, while the rest of us cheerily received SUCCESS on all grade efforts. In the cases where they FAIL on dev1 writing to /home/techdocs, dev1 is in the techdocs group, whereas in those with SUCCESS on grade check, dev1 is NOT in the techdocs group. EZ to fix - remove dev1 from techdocs group,  et voilà - grading is happy. No idea how dev1 got into techdocs group, especially for only some.

 

0 Kudos
RH124chapter11
Flight Engineer
Flight Engineer
  • 47 Views

Hallo Andrew,

Thank you for your answer. While I appreciate the solution you offered, I don't think it could work. Firstly, if dev1 is not a member of the techdocs group, how can they create files in the /home/techdocs directory? According to the requirements, the root user created the /home/techdocs directory and changed the group to techdocs so that all techdocs members can create files in this directory. If dev1 does not belong to the techdocs group, they cannot create files in this directory either, so the solution is illogical. I tried your solution anyway, but the problem remained and nothing changed.

Andrew
Flight Engineer
Flight Engineer
  • 12 Views

My apologies. I failed to fully vet my memory and this question's assertions about users and abilities.

In our case, (RH124 v9.3) the lab "perms-review" (aka "Chapter 7: Lab- Control Access to Files") is much like this one, but likely a different lab, as our users are tech1 and tech2, members of the techdocs group, and developer1, NOT a member of techdocs, per the instructions:

Andrew_0-1761486805950.png

However, when the lab is setup, database1 IS in techdocs group:

Andrew_2-1761486973839.png

And a student who doesn't know better and just follows directions gets a FAIL for developer1 being able to add files to /home/techdocs:

Andrew_3-1761487125144.png

 

A fun thing to help interested students resolve - a frustration for clickers-through who did, in fact, "totaly followed all the solutions exactly and still got a fail".

Again, my apologies for muddying the waters in this thread. I think the fact that we're both using /home/techdocs as the target directory, and many other similarities, caused my confusion.

@Chetan_Tiwary_ if you're monitoring this, in my case, I did delete & create my lab environment again, and now, database1 user is NOT in the techdocs group, so this appears to have been corrected since I last built my environment (and some of my students, as well).

 

0 Kudos
RH124chapter11
Flight Engineer
Flight Engineer
  • 42 Views

 

Hallo @Andrew,

Thank you for your answer. While I appreciate the solution you offered, I don't think it could work. Firstly, if dev1 is not a member of the techdocs group, how can they create files in the /home/techdocs directory? According to the requirements, the root user created the /home/techdocs directory and changed the group to techdocs so that all techdocs members can create files in this directory. If dev1 does not belong to the techdocs group, they cannot create files in this directory either, so the solution is illogical. I tried your solution anyway, but the problem remained and nothing changed.

0 Kudos
Join the discussion
You must log in to join this conversation.