Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12266

Fix up non-directory creation in SGID directories

Details

    • 3
    • 9223372036854775807

    Description

      If a non-directory item is created in a SGID directory, it is possible that the SGID flag is not properly cleared, leaving the item with incorrect group ownership and flags.

      This is mitigated by mounting Lustre with the -o nosuid mount option on the client.

      The upstream kernel has a similar issue that was fixed in commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7

      Attachments

        Activity

          [LU-12266] Fix up non-directory creation in SGID directories
          jgmitter Joseph Gmitter (Inactive) made changes -
          Fix Version/s New: Lustre 2.10.8 [ 14417 ]
          pjones Peter Jones made changes -
          Link Original: This issue is related to JFC-26 [ JFC-26 ]
          pjones Peter Jones made changes -
          Link Original: This issue is related to JFC-19 [ JFC-19 ]
          pjones Peter Jones made changes -
          Link Original: This issue is related to JFC-10 [ JFC-10 ]
          pjones Peter Jones made changes -
          Link New: This issue is related to JFC-20 [ JFC-20 ]
          pjones Peter Jones made changes -
          Labels Original: LTS12
          adilger Andreas Dilger made changes -
          Labels New: LTS12
          pjones Peter Jones made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          pjones Peter Jones made changes -
          Link New: This issue is related to JFC-26 [ JFC-26 ]
          adilger Andreas Dilger made changes -
          Description Original: If a non-directory item is created in a SGID directory, it is possible that the SGID flag is not properly cleared, leaving the item with incorrect group ownership and flags.

          This is mitigated by mounting Lustre with the {{-o nosuid}} mount option on the client.
          New: If a non-directory item is created in a SGID directory, it is possible that the SGID flag is not properly cleared, leaving the item with incorrect group ownership and flags.

          This is mitigated by mounting Lustre with the {{-o nosuid}} mount option on the client.

          The upstream kernel has a similar issue that was fixed in commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7

          People

            sebastien Sebastien Buisson
            sebastien Sebastien Buisson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: