cancel
Showing results for 
Search instead for 
Did you mean: 
RunReon
Mission Specialist
Mission Specialist
  • 300 Views

RH199 - ch16s09 lab: contains inaccuracy (?)

Jump to solution

Dear community,

I need input on ch16s09lab. I copied pasted the section I need for clarification.

"...

3. Use the /home/student/webserver/html/ directory as persistent storage for the web server container. Create the index.html test page with the Welcome to the webserver container content.

3.1 Create the ~/webserver/html/ directory.

[podsvc@serverb ~]$ mkdir -p ~/webserver/html/  # <<HIDE SOLUTION: created it on /home/podsvc

3.2 Create the index.html file and add the Welcome to the webserver container content.

[podsvc@serverb ~]$ echo "Welcome to the webserver container" > \
~/webserver/html/index.html

3.3 Verify that the permission for others is set to r-x in the webserver/html directory, and is set to r-- in the index.html file. The container uses a non-privileged user that must be able to read the index.html file.

[podsvc@serverb ~]$ ls -ld ~/webserver/html/ 
drwxr-xr-x. 2 podsvc podsvc 24 Jul 10 05:42 /home/podsvc/webserver/html/ #<<HIDE SOLUTION: confirmed it in this step
[podsvc@serverb ~]$ ls -l ~/webserver/html/index.html
-rw-r--r--. 1 podsvc podsvc 21 Jul 10 05:42 /home/podsvc/webserver/html/index.html

So, I guess, either the question or the 'hide solution' is inaccurate. Any ideas?

1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 283 Views

@RunReon Yes this is a known typo, it will be rectified in the next release of the course. it should be /home/podsvc as the home dir.

View solution in original post

1 Reply
Chetan_Tiwary_
Community Manager
Community Manager
  • 284 Views

@RunReon Yes this is a known typo, it will be rectified in the next release of the course. it should be /home/podsvc as the home dir.

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