Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15782

Issues with proposed solution to rhcsa-rh124-review2 -No execute permissions on parent and target directories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • RH124 - RHEL10.0-en-3-20250821
    • RH124
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh124-10.0/pages/ch20s03
      Reporter RHNID: amutsikiwa@bell-integration.com
      Section Title:          Lab: Manage Users and Groups, Permissions, and Processes                                                              

      Issue description

        1. Switch to the dbadmin1 user. Append the umask 027 line to the /home/dbadmin1/.bashrc file.

      [root@serverb ~]# su - dbadmin1
      [dbadmin1@serverb ~]$ echo "umask 027" >> .bashrc
      [dbadmin1@serverb ~]$ source ~/.bashrc

        2. Create the /home/dbadmin1/grading/review2 directory and set the appropriate permissions.

      [dbadmin1@serverb ~]$ mkdir -p /home/dbadmin1/grading/review2 \
      && chown -R dbadmin1:database /home/dbadmin1/ \
      && chmod o+t /home/dbadmin1/grading/review2 \
      && chmod g+w /home/dbadmin1/grading/review2 \
      && chmod o+r /home/dbadmin1/grading/review2

      On Implementing the solution and checking the  permission​s of the parent:

        1. The permissions for the dbadmin1's home directory (0700)only allows exclusive access by the user dbadmin1. This means that neither the group database and other users can change directory to /home/dbadmin1/grading/review2
        2. The permissions for  /home/dbadmin1/grading (0750), will not allow others to cd to /home/dbadmin1/grading (no x for others ), which means no access to  /home/dbadmin1/grading/review2
        3. The 'T' symbol on   /home/dbadmin1/grading/review2's  world permissions indicate that the execute bit is turned off for the others. Yet the requirements state that "All other users must have read and execute permissions on the directory."
        4. I've tried to access the directory /home/dbadmin1/grading/review2 as student, who should have the worldly read and execute permissions, but got an "Permissions denied error"

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              glsbugs-hybridcloud@redhat.com PTL - RHEL Team
              suchoudh@redhat.com Sunnykumar Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: