Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109678

s3:smbd:open - add support for kernel dosmodes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 12.0-U3
    • Component/s: Middleware
    • Labels:
      None

      Description

      PR: https://github.com/truenas/ports/pull/974

      DOS attributes specified through SMB2 CREATE requests were not getting
      set due to combination of parameters being used to enable kernel DOS
      mode support and avoid extra xattr writes. This commit adds additional
      handling for case where kernel DOS modes are supported and used by adding
      new share-level parameter lp_kernel_dosmodes that is either manually set
      or loaded at tcon by the VFS module. Additional check is made for kernel
      DOS modes being enabled in code path for CREATE through SMB1/2 and the
      relevant VFS operation called.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                bugclerk Bug Clerk
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: