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?
@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.
@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.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.