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

Ensure we have valid stat before generating SD in vfs_noacl

    XMLWordPrintable

Details

    • Defect
    • Status: Done (View Workflow)
    • Low
    • Resolution: Complete
    • None
    • 11.3-RC2
    • Middleware
    • None

    Description

      PR: https://github.com/freenas/ports/pull/486

      Invalid stat on . was preventing write access to root of share. Add experimental non-default option to chroot the SMB session to the share's connectpath. QE test is create "generic" share type dataset with no ACL on it. Change dataset so that it's owned by the smb user account. Connect to share, and copy a file to it.

      Regression was caused by performance optimization to avoid all calls to acl_get_file() and rely on POSIX mode exclusively to create a Windows SD.

      Attachments

        Attachments

          JEditor

            Activity

              People

                awalker Andrew Walker
                bugclerk Bug Clerk
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: