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

Collaborative Directory Lab Instructions Do Not Account for Default umask in RHEL 9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • RH199 - RHEL9.3-en-1-20240723, RH124 - RHEL9.3-en-1-20240717
    • RH124, RH199
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 7
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/rh199-9.3/pages/ch04s02 
      Reporter RHNID: shasingh01
      Section Title: Guided Exercise: Manage File System Permissions from the Command Line                                                                       

      Issue description

      In the "perms-cli" lab (which teaches collaborative directory creation using file system permissions), Step 9 and the corresponding video incorrectly state that group members can modify each other’s files by default if they belong to the same group (in this case, consultants).

       

      In step 6.2 consultant1 creates a file consultant1.txt. Step 9 (and the video) states that consultant2 should be able to modify that file since both users are in the same consultants group. However, in RHEL9 the default umask is 0022 and therefore the access permission on that file is 0644. As a result, it is NOT possible for consultant2 to modify the file. 

      In RHEL 9, files created by regular users inherit permissions based on the user’s umask, which is 0022

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              glsbugs-hybridcloud@redhat.com PTL - RHEL Team
              shasingh01 Shashi Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: