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

Recycle bin not working after upgrade from FreeNAS 11.3-U5 to TrueNAS Core 12.0 or later

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: User Configuration Error
    • Affects Version/s: 12.0-U2, 12.0-U1.1, 12.0-U2.1
    • Fix Version/s: N/A
    • Component/s: SMB
    • Impact:
      High

      Description

      After upgrading from FreeNAS 11.3 U5 the recycle bin functionality on SMB shares stopped working. Files and folders that were deleted were permanently deleted rather than being put in the recycle bin. Recycle bins that had content and had not been emptied prior to migration persisted but no new items were put into them.

      These recycle bins were all working correctly before the upgrade.

      Process to repair is:

      1. Add ACL to dataset to grant full control to root and propagate recursively
      2. Delete the existing SMB share
      3. Create a new SMB share and enable the 'Export Recycle Bin' setting
      4. Edit the share ACL to allow permission to your users otherwise when they delete files they will not be placed in the .recycle folder (this was not necessary on FreeNAS)
      5. Edit the dataset ACL agin if you wish users to be able to empty the recycle bin themself, otherwise, once deleted they will only have RO access to the contents of the recycle bin

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                speacock Stuart Peacock
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: