cancel
Showing results for 
Search instead for 
Did you mean: 
olabodefuwa
Mission Specialist
Mission Specialist
  • 92 Views

Chapter 13 lab instructions have different user details

The instructions show /home/student/.... but the solution shows /home/podsvc. I tried to create a directory in the podsvc home directory as the podsvc user and got permission errors.

 

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.

  1. Create the ~/webserver/html/ directory.

    [podsvc@serverb ~]$ mkdir -p ~/webserver/html/
  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. 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/ [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
1 Reply
Wasim_Raja
Moderator
Moderator
  • 30 Views

@olabodefuwa Thanks for reaching out.

This issue has already been reported and will be fixed in the next release.

Reference: https://issues.redhat.com/browse/PTL-14016 

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